System.JSON.Writers.TJsonWriter.TState
Delphi
TState = (Start, &Property, ObjectStart, &Object, ArrayStart, &Array, ConstructorStart, &Constructor, Closed, Error);
C++
enum class DECLSPEC_DENUM TState : unsigned char { Start, Property, ObjectStart, Object, ArrayStart, Array, ConstructorStart, Constructor, Closed, Error };
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
enum | protected | System.JSON.Writers.pas System.JSON.Writers.hpp |
System.JSON.Writers | TJsonWriter |
Description
TState enumerates all the possible states of the JSON writer.
State | Range Value | Description |
---|---|---|
|
|
A write method has not been called. |
|
|
A property is being written. |
|
|
The beginning of a JSON object is being written. |
|
|
An object is being written. |
|
|
The beginning of a JSON array is being written. |
|
|
The beginning of a constructor is being written. |
|
|
A constructor is being written. |
|
|
The close method has been called. |
|
|
An exception has been thrown. |