public interface JsonNodeVisitor
Modifier and Type | Method and Description |
---|---|
void |
array(java.util.List<JsonNode> elements)
Called by JSON arrays.
|
void |
falseNode()
Called by JSON false values.
|
void |
nullNode()
Called by JSON null values.
|
void |
number(java.lang.String value)
Called by JSON numbers.
|
void |
object(java.util.List<JsonField> fields)
Called by JSON objects.
|
void |
string(java.lang.String value)
Called by JSON strings.
|
void |
trueNode()
Called by JSON true values.
|
void object(java.util.List<JsonField> fields)
fields
- the members of the object.void array(java.util.List<JsonNode> elements)
elements
- the elements of the array.void string(java.lang.String value)
value
- the text of the string.void number(java.lang.String value)
value
- the text of the number.for utility methods for converting JSON number text into Java numeric types.
void trueNode()
void falseNode()
void nullNode()