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 };
Propriétés
Type | Visibilité | Source | Unité | Parent |
---|---|---|---|---|
enum | protected | System.JSON.Writers.pas System.JSON.Writers.hpp |
System.JSON.Writers | TJsonWriter |
Description
TState énumère tous les états possibles de l'éditeur JSON.
Etat | Valeur de la plage | Description |
---|---|---|
|
|
Une méthode Write n'a pas été appelée. |
|
|
Une propriété est en cours d'écriture. |
|
|
Le début d'un objet JSON est en cours d'écriture. |
|
|
Un objet est en cours d'écriture. |
|
|
Le début d'un tableau JSON est en cours d'écriture. |
|
|
Le début d'un constructeur est en cours d'écriture. |
|
|
Un constructeur est en cours d'écriture. |
|
|
La méthode close a été appelée. |
|
|
Une exception a été déclenchée. |