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 com.fasterxml.jackson.databind.node.ObjectNode |
digestedNumberNode(com.fasterxml.jackson.databind.JsonNode schema) |
supportedTypes, toStringprotected NumericDigester(String keyword)
Copyright © 2014. All Rights Reserved.