Package name.martingeisse.grumpyjson
package name.martingeisse.grumpyjson
-
ClassDescriptionThis class is mostly useful for unit tests: If we hardcoded the error messages at the point these errors occur, then we would have to duplicate them in the tests.This class typically gets constructed by grumpyjson and consumed by grumpyrest, without any need for the application code to deal with it.A node that specifies a single field nesting level for its subtree.This structure represents a single error, i.e. a leaf node, and contains the error message of the
FieldErrorNode.Messagenode as well as the field path as a list of the field names of allFieldErrorNode.Fieldnodes on the way from the root to the message leaf node.A leaf node with an internal exception.A leaf node with an error message.A node that groups two subtrees together to allow the tree to store multiple errors.This class is the main entry point into the JSON conversion system.Combines JsonSerializerProvider and JsonDeserializerProvider.Groups theJsonSerializerRegistryandJsonDeserializerRegistrytogether.