class JsonToken (View source)

List of JSON tokens outputted by the encoder.

Constants

T_LEFT_BRACKET

Represents the [ character that begins an array

T_RIGHT_BRACKET

Represents the ] character the ends an array

T_LEFT_BRACE

Represents the { character that begins an object

T_RIGHT_BRACE

Represents the } character that ends an object

T_NAME

Represents a name in an object name/value pair

T_COLON

Represent the : character that separates a name and a value

T_VALUE

Represents all values

T_COMMA

Represents the , character that separates array values and object name/value pairs

T_WHITESPACE

Represents all whitespace