Sign in Join
FPDoc Onlineexperiment

TJSONtype enumeration

In unit fpJson

Possible types of JSON data.

Declaration

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

Description

TJSONtype determines the type of JSON data a particular object contains. The class function 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

Values

jtUnknownUnknown JSON data type.
jtNumberNumerical type. This can be integer (32/64 bit) or float.
jtStringString data type.
jtBooleanBoolean data.
jtNullNull data.
jtArrayArray data (integer index,elements can be any type).
jtObjectObject data (named index, elements can be any type).

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.