public abstract class NumericDigester extends AbstractDigester
This digester ensures that, for instance, values 1, 1.0
and 1.00 produce the same digest. It also stores another important
information: whether that number can be reliably represented as a long. If this is not the case, for accuracy reasons, BigDecimal is
used.
NumericValidatorFACTORY, keyword| Modifier | Constructor and Description |
|---|---|
protected |
NumericDigester(String keyword) |
| Modifier and Type | Method and Description |
|---|---|
protected ObjectNode |
digestedNumberNode(JsonNode schema) |
supportedTypes, toStringprotected NumericDigester(String keyword)
protected final ObjectNode digestedNumberNode(JsonNode schema)