Skip to content

TJSONtype

Possible types of JSON data.

Declaration

Source position: fpjson.pp line 49

type
  TJSONtype = (jtUnknown,jtNumber,jtString,jtBoolean,jtNull,jtArray,
             jtObject)

Values

Value Description
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

Name Description
TJSONData.JSONType The native JSON data type represented by this object.
TJSONData Base (abstract) object for all JSON based data types.