System.JSON.Writers.TJsonWriteState

From Appmethod Libraries
Jump to: navigation, search

Object Pascal

TJsonWriteState = (Error, Closed, &Object, &Array, &Constructor, &Property, Start);

C++

enum class DECLSPEC_DENUM TJsonWriteState : unsigned char { Error, Closed, Object, Array, Constructor, Property, Start };

Properties

Type Visibility Source Unit Parent
enum public
System.JSON.Writers.pas
System.JSON.Writers.hpp
System.JSON.Writers System.JSON.Writers

Description

TJsonWriteState enumerates all the possible states of the JSON writer.

State Range Value Description

Error

0

An exception has been thrown.

Closed

1

The close method has been called.

&Object

2

An object is being written.

&Array

3

An array is being written.

&Constructor

4

A constructor is being written.

&Property

5

A property is being written.

Start

6

A write method has not been called.

See Also