System.JSON.Readers.TJsonReader.TState
Delphi
TState = (Start, Complete, &Property, ObjectStart, &Object, ArrayStart,
&Array, Closed, PostValue, ConstructorStart, &Constructor, Error, Finished);
C++
enum class DECLSPEC_DENUM TState : unsigned char { Start, Complete, Property, ObjectStart, Object, ArrayStart, Array, Closed, PostValue, ConstructorStart, Constructor, Error, Finished };
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
enum | public | System.JSON.Readers.pas System.JSON.Readers.hpp |
System.JSON.Readers | TJsonReader |
Description
TState enumerates all the possible states of the Reader.
State | Range Value | Description |
---|---|---|
|
|
The read method has not been called. |
|
|
The end of the JSON file has been reached successfully. |
|
|
The reader is at a property. |
|
|
The reader is at the start of an object. |
|
|
The reader is in an object. |
|
|
The reader is at the start of an array. |
|
|
The reader is in an array. |
|
|
The close method has been called. |
|
|
The reader has just read a value. |
|
|
The reader is at the start of a constructor. |
|
|
The reader is in a constructor. |
|
|
An error occurred that prevents the read operation from continuing. |
|
|
The end of the JSON file has been reached successfully. |