Java com.fasterxml.jackson.core JsonToken fields, constructors, methods, implement or subclass

Example usage for Java com.fasterxml.jackson.core JsonToken fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for com.fasterxml.jackson.core JsonToken.

The text is from its open source code.

Field

JsonTokenNOT_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.
JsonTokenSTART_OBJECT
START_OBJECT is returned when encountering '{' which signals starting of an Object value.
JsonTokenEND_OBJECT
END_OBJECT is returned when encountering '}' which signals ending of an Object value
JsonTokenSTART_ARRAY
START_ARRAY is returned when encountering '[' which signals starting of an Array value
JsonTokenEND_ARRAY
END_ARRAY is returned when encountering ']' which signals ending of an Array value
JsonTokenFIELD_NAME
FIELD_NAME is returned when a String token is encountered as a field name (same lexical value, different function)
JsonTokenVALUE_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.
JsonTokenVALUE_STRING
VALUE_STRING is returned when a String token is encountered in value context (array element, field value, or root-level stand-alone value)
JsonTokenVALUE_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)
JsonTokenVALUE_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.
JsonTokenVALUE_TRUE
VALUE_TRUE is returned when encountering literal "true" in value context
JsonTokenVALUE_FALSE
VALUE_FALSE is returned when encountering literal "false" in value context
JsonTokenVALUE_NULL
VALUE_NULL is returned when encountering literal "null" in value context

Method

StringasString()
booleanequals(Object obj)
Indicates whether some other object is "equal to" this one.
booleanisNumeric()
booleanisScalarValue()
Method that can be used to check whether this token represents a valid non-structured value.
StringtoString()
Returns a string representation of the object.