| Class | Description |
|---|---|
| JacksonUtils |
Utility class for Jackson
|
| JsonLoader |
Utility class to load JSON documents (schemas or instance) 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).
Copyright © 2013. All Rights Reserved.