Package com.github.fge.jackson

Jackson utility classes

See:
          Description

Class Summary
JacksonUtils Utility class for Jackson
JsonLoader Utility class to load JSON values from various sources as JsonNodes.
JsonNodeReader Class dedicated to reading JSON values from InputStreams and Readers
JsonNumEquals An Equivalence strategy for JSON Schema equality
 

Enum Summary
NodeType Enumeration for the different types of JSON instances which can be encountered.
 

Package com.github.fge.jackson Description

Jackson utility classes

JsonLoader contains various methods to load JSON documents as JsonNodes. It uses a JsonNodeReader (as such, parsing []] will generate an error where Jackson normally does not).

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 7159, plus integer (used by JSON Schema). Note that since Jackson 2.2, there is also JsonNode.getNodeType(), but it does not make a difference between number and integer.