Interface | Description |
---|---|
AsJson |
Interface implemented by classes having a JSON representation
|
Frozen<T extends Thawed<? extends Frozen<T>>> |
Interface for a frozen object
|
Thawed<F extends Frozen<? extends Thawed<F>>> |
Interface for a thawed object
|
Class | Description |
---|---|
AsJsonValueHolder<T extends AsJson> |
A specialized
ValueHolder for values implementing AsJson |
JacksonUtils |
Utility class for Jackson
|
JsonLoader |
Utility class to load JSON documents (schemas or instance) from various
sources as
JsonNode s. |
RhinoHelper |
ECMA 262 validation helper.
|
SimpleValueHolder<T> | |
ValueHolder<T> |
A wrapper over an arbitrary type to be used by processors
|
Enum | Description |
---|---|
NodeType |
Enumeration for the different types of JSON instances which can be
encountered.
|
JsonLoader
contains various
methods to load JSON documents as JsonNode
(schemas as well as instances to
validate). You will also use to want JacksonUtils
to grab a node factory, reader
and pretty printer for anything JSON.
RhinoHelper
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.
There are other, various utility interfaces used elsewhere in the code.
Copyright © 2013. All Rights Reserved.