Package name.martingeisse.grumpyjson
Class FieldErrorNode.Siblings
java.lang.Object
name.martingeisse.grumpyjson.FieldErrorNode
name.martingeisse.grumpyjson.FieldErrorNode.Siblings
- Enclosing class:
FieldErrorNode
A node that groups two subtrees together to allow the tree to store multiple errors.
-
Nested Class Summary
Nested classes/interfaces inherited from class name.martingeisse.grumpyjson.FieldErrorNode
FieldErrorNode.Field, FieldErrorNode.FlattenedError, FieldErrorNode.InternalException, FieldErrorNode.Message, FieldErrorNode.Siblings -
Method Summary
-
Method Details
-
getFirst
Getter for the first subtree.- Returns:
- the first subtree
-
getSecond
Getter for the second subtree.- Returns:
- the second subtree
-
flatten
Description copied from class:FieldErrorNodeNOT PUBLIC API- Specified by:
flattenin classFieldErrorNode- Parameters:
errors- ...segments- ...
-