System.JSON.Readers.TJsonReader.TState

From RAD Studio API Documentation
Jump to: navigation, search

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

Start

0

The read method has not been called.

Complete

1

The end of the JSON file has been reached successfully.

&Property

2

The reader is at a property.

ObjectStart

3

The reader is at the start of an object.

&Object

4

The reader is in an object.

ArrayStart

5

The reader is at the start of an array.

&Array

6

The reader is in an array.

Closed

7

The close method has been called.

PostValue

8

The reader has just read a value.

ConstructorStart

9

The reader is at the start of a constructor.

&Constructor

10

The reader is in a constructor.

Error

11

An error occurred that prevents the read operation from continuing.

Finished

12

The end of the JSON file has been reached successfully.

See Also