Note: This release is in preview. Features described here don’t become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.
JSONToken Enum
Contains all token values used for parsing JSON content.
Namespace
| Enum Value | Description |
|---|---|
| END_ARRAY | The ending of an array value. This token is returned when ']' is encountered. |
| END_OBJECT | The ending of an object value. This token is returned when '}' is encountered. |
| FIELD_NAME | A string token that is a field name. |
| NOT_AVAILABLE | The requested token isn't available. |
| START_ARRAY | The start of an array value. This token is returned when '[' is encountered. |
| START_OBJECT | The start of an object value. This token is returned when '{' is encountered. |
| VALUE_EMBEDDED_OBJECT | An embedded object that isn't accessible as a typical object structure that includes the start and end object tokens START_OBJECT and END_OBJECT but is represented as a raw object. |
| VALUE_FALSE | The literal “false” value. |
| VALUE_NULL | The literal “null” value. |
| VALUE_NUMBER_FLOAT | A float value. |
| VALUE_NUMBER_INT | An integer value. |
| VALUE_STRING | A string value. |
| VALUE_TRUE | A value that corresponds to the “true” string literal. |