Top Description Fields
com.fasterxml.jackson.core

public Interface JsonTokenId


Interface defined to contain ids accessible with JsonToken#id(). Needed because it is impossible to define these constants in JsonToken itself, as static constants (oddity of how Enums are implemented by JVM).
Since
2.3

Field Summary

Modifier and TypeField and Description
public static final int
public static final int
ID_END_ARRAY

Id used to represent JsonToken#END_ARRAY

public static final int
ID_END_OBJECT

Id used to represent JsonToken#END_OBJECT

public static final int
ID_FALSE

Id used to represent JsonToken#VALUE_FALSE

public static final int
ID_FIELD_NAME

Id used to represent JsonToken#FIELD_NAME

public static final int
ID_NO_TOKEN

Id used to represent the case where no JsonToken is available: either because JsonParser has not been advanced to first token, or because no more tokens will be available (end-of-input or explicit closing of parser}.

public static final int
ID_NOT_AVAILABLE

Id used to represent JsonToken#NOT_AVAILABLE, used in cases where a token may become available when more input is available: this occurs in non-blocking use cases.

public static final int
ID_NULL

Id used to represent JsonToken#VALUE_NULL

public static final int
public static final int
public static final int
public static final int
public static final int
ID_STRING

Id used to represent JsonToken#VALUE_STRING

public static final int
ID_TRUE

Id used to represent JsonToken#VALUE_TRUE

Field Detail

ID_EMBEDDED_OBJECTback to summary
public static final int ID_EMBEDDED_OBJECT

Id used to represent JsonToken#VALUE_EMBEDDED_OBJECT

ID_END_ARRAYback to summary
public static final int ID_END_ARRAY

Id used to represent JsonToken#END_ARRAY

ID_END_OBJECTback to summary
public static final int ID_END_OBJECT

Id used to represent JsonToken#END_OBJECT

ID_FALSEback to summary
public static final int ID_FALSE

Id used to represent JsonToken#VALUE_FALSE

ID_FIELD_NAMEback to summary
public static final int ID_FIELD_NAME

Id used to represent JsonToken#FIELD_NAME

ID_NO_TOKENback to summary
public static final int ID_NO_TOKEN

Id used to represent the case where no JsonToken is available: either because JsonParser has not been advanced to first token, or because no more tokens will be available (end-of-input or explicit closing of parser}.

ID_NOT_AVAILABLEback to summary
public static final int ID_NOT_AVAILABLE

Id used to represent JsonToken#NOT_AVAILABLE, used in cases where a token may become available when more input is available: this occurs in non-blocking use cases.

ID_NULLback to summary
public static final int ID_NULL

Id used to represent JsonToken#VALUE_NULL

ID_NUMBER_FLOATback to summary
public static final int ID_NUMBER_FLOAT

Id used to represent JsonToken#VALUE_NUMBER_FLOAT

ID_NUMBER_INTback to summary
public static final int ID_NUMBER_INT

Id used to represent JsonToken#VALUE_NUMBER_INT

ID_START_ARRAYback to summary
public static final int ID_START_ARRAY

Id used to represent JsonToken#START_ARRAY

ID_START_OBJECTback to summary
public static final int ID_START_OBJECT

Id used to represent JsonToken#START_OBJECT

ID_STRINGback to summary
public static final int ID_STRING

Id used to represent JsonToken#VALUE_STRING

ID_TRUEback to summary
public static final int ID_TRUE

Id used to represent JsonToken#VALUE_TRUE