System.JSON.Readers.TJsonReader.SetStateBasedOnCurrent
Delphi
procedure SetStateBasedOnCurrent;
C++
void __fastcall SetStateBasedOnCurrent(void);
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
procedure function |
protected | System.JSON.Readers.pas System.JSON.Readers.hpp |
System.JSON.Readers | TJsonReader |
Description
Sets the current state of the reader based on the type of the current JSON token.
Based on TJsonContainerType, the possible State values are:
Object, when TJsonContainerType is&Object. The reader is in an object.Array, when TJsonContainerType is&Array. The reader is in an array.Constructor, when TJsonContainerType is&Constructor. The reader is in a constructor.None, when TJsonContainerType isNone. There are no more tokens to read.