[Overview][Constants][Types][Classes][Procedures and functions][Index] Reference for unit 'fpjson' (#fcl)

TJSONtype

Possible types of JSON data

Declaration

Source position: fpjson.pp line 33

type TJSONtype = (

  jtUnknown,

  

Unknown JSON data type

  jtNumber,

  

Numerical type. This can be integer (32/64 bit) or float.

  jtString,

  

String data type.

  jtBoolean,

  

Boolean data

  jtNull,

  

Null data

  jtArray,

  

Array data (integer index,elements can be any type)

  jtObject

  

Object data (named index, elements can be any type)

);

Description

TJSONtype determines the type of JSON data a particular object contains. The class function TJSONData.JSONType returns this type, and indicates what kind of data that particular descendent contains. The values correspond to the original data types in the JSON specification. The TJSONData object itself returns the unknown value.

See also

TJSONData.JSONType

  

The native JSON data type represented by this object

TJSONData

  

Base (abstract) object for all JSON based data types


Documentation generated on: May 14 2021