| Class | Description |
|---|---|
| JacksonUtils |
A small set of utility methods over Jackson.
|
| JsonLoader |
Utility class to load JSON documents (schemas or instance) from various
sources as
JsonNodes. |
| RhinoHelper |
ECMA 262 validation helper.
|
| Enum | Description |
|---|---|
| NodeType |
Enumeration for the different types of JSON instances which can be
encountered.
|
The one you will use the most often here is JsonLoader: it contains various methods to
load JSON documents as JsonNode
instances.
You may want to have a look at RhinoHelper, which is in charge of all regex
validation: as the standard dictates ECMA 262 regexes, using java.util.regex is out of the question. See this class' description for more
details.
The NodeType enum is a critical
part of the code. Its ability to determine the type of a JsonNode is an essential part of the
validation process.
Finally, the JacksonUtils class
provides useful methods to perform common operations on exsting JsonNode instances.
Copyright © 2012. All Rights Reserved.