Example usage for Java com.fasterxml.jackson.core JsonToken fields, constructors, methods, implement or subclass
The text is from its open source code.
JsonToken | NOT_AVAILABLE NOT_AVAILABLE can be returned if JsonParser implementation can not currently return the requested token (usually next one), or even if any will be available, but that may be able to determine this in future. |
JsonToken | START_OBJECT START_OBJECT is returned when encountering '{' which signals starting of an Object value. |
JsonToken | END_OBJECT END_OBJECT is returned when encountering '}' which signals ending of an Object value |
JsonToken | START_ARRAY START_ARRAY is returned when encountering '[' which signals starting of an Array value |
JsonToken | END_ARRAY END_ARRAY is returned when encountering ']' which signals ending of an Array value |
JsonToken | FIELD_NAME FIELD_NAME is returned when a String token is encountered as a field name (same lexical value, different function) |
JsonToken | VALUE_EMBEDDED_OBJECT Placeholder token returned when the input source has a concept of embedded Object that are not accessible as usual structure (of starting with #START_OBJECT , having values, ending with #END_OBJECT ), but as "raw" objects. |
JsonToken | VALUE_STRING VALUE_STRING is returned when a String token is encountered in value context (array element, field value, or root-level stand-alone value) |
JsonToken | VALUE_NUMBER_INT VALUE_NUMBER_INT is returned when an integer numeric token is encountered in value context: that is, a number that does not have floating point or exponent marker in it (consists only of an optional sign, followed by one or more digits) |
JsonToken | VALUE_NUMBER_FLOAT VALUE_NUMBER_INT is returned when a numeric token other that is not an integer is encountered: that is, a number that does have floating point or exponent marker in it, in addition to one or more digits. |
JsonToken | VALUE_TRUE VALUE_TRUE is returned when encountering literal "true" in value context |
JsonToken | VALUE_FALSE VALUE_FALSE is returned when encountering literal "false" in value context |
JsonToken | VALUE_NULL VALUE_NULL is returned when encountering literal "null" in value context |
String | asString() |
boolean | equals(Object obj) Indicates whether some other object is "equal to" this one. |
boolean | isNumeric() |
boolean | isScalarValue() Method that can be used to check whether this token represents a valid non-structured value. |
String | toString() Returns a string representation of the object. |