Share via


JsonToken Enum

  • java.lang.Object
    • java.lang.Enum
      • com.azure.json.JsonToken

public enum JsonToken
extends Enum<JsonToken>

Token types used when reading JSON content.

Fields

BOOLEAN

Boolean false, literal false.

END_ARRAY

End of a JSON array, ']'.

END_DOCUMENT

JSON document has completed.

END_OBJECT

End of a JSON object, '}'.

FIELD_NAME

Name of a JSON property.

NULL

Null, literal null.

NUMBER

Number.

START_ARRAY

Start of a JSON array, '['.

START_OBJECT

Start of a JSON object, '{'.

STRING

String, in value context.

Methods inherited from java.lang.Enum

Methods inherited from java.lang.Object

Methods

valueOf(String name)

public static JsonToken valueOf(String name)

Parameters

name
String

Returns

values()

public static JsonToken[] values()

Returns

Applies to