Class McpJsonNumber

java.lang.Object
com.soklet.McpJsonNumber
All Implemented Interfaces:
McpJsonValue

@ThreadSafe public final class McpJsonNumber extends Object implements McpJsonValue
An immutable, exactly represented JSON number.

Equality and hashing compare numeric values regardless of decimal scale. For example, 1, 1.0 and 1E+0 are equal. The supplied BigDecimal, including its scale, remains available from getValue().

Author:
Mark Allen