System.JSON.TJSONPathParser.TToken

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

TToken = (Undefined, Name, ArrayIndex, Eof, Error);

C++

enum class DECLSPEC_DENUM TToken : unsigned char { Undefined, Name, ArrayIndex, Eof, Error };

Properties

Type Visibility Source Unit Parent
enum public
System.JSON.pas
System.JSON.hpp
System.JSON TJSONPathParser

Description

Represents the type of one of the parts of a JSON path.

Possible values are:

Value Description

Undefined

Does not represent any part of a JSON path. This is the value of TJSONPathParser.Token before you call TJSONPathParser.NextToken for the first time.

Name

Represents the key of a key-value pair of a JSON object.

ArrayIndex

Represents the index of an item of a JSON array.

Eof

Represents the end of a JSON path.

Error

Represents a syntax error in a JSON path.