| Class | Description |
|---|---|
| JacksonUtils |
Utility class for Jackson
|
| JsonLoader |
Utility class to load JSON values from various sources as
JsonNodes. |
| JsonNumEquals |
An
Equivalence strategy for JSON Schema equality |
| Enum | Description |
|---|---|
| NodeType |
Enumeration for the different types of JSON instances which can be
encountered.
|
JsonLoader contains various methods to load
JSON documents as JsonNodes.You will
also want to use JacksonUtils to grab a node
factory, reader and pretty printer for anything JSON.Compared to the basic
Jackson's ObjectMapper, the one
provided by JacksonUtils deserializes all
floating point numbers as BigDecimals by default. This is
done using DeserializationFeature.USE_BIG_DECIMAL_FOR_FLOATS.
JsonNumEquals is an Equivalence over JsonNode for recursive equivalence of JSON
number values.
Finally, NodeType is a utility enumeration
which distinguishes between all JSON node types defined by RFC 4627, plus
integer (used by JSON Schema). Note that since Jackson 2.2, there is
also JsonNode.getNodeType().