In this section you can find functions to work with JSON text files.

 

Reading


JSONArrayGetBoolean

get the Boolean value of an array element by the index;

JSONArrayGetDateTime

get the date/time value of an array element by the index;

JSONArrayGetDouble

get the real value of the array element by index;

JSONArrayGetInteger

get the integer value of an array element by the index;

JSONArrayGetString

get the text value of an array element by the index;

JSONGetBoolean

get the value of the Boolean key;

JSONGetDateTime

get the date/time value of a key;

JSONGetFloat

get the fractional value of the key;

JSONGetInteger

get the value of an integer key;

JSONGetString

get the value of a string key.

 

Writing


JSONArraySetBoolean

set the Boolean value of an array element by the index;

JSONArraySetDateTime

set the date/time value of an array element by the index;

JSONArraySetDouble

save  the fractional value of the array element by index;

JSONArraySetInteger

set the integer value of an array element by the index;

JSONArraySetString

set the string value of an array element by the index;

JSONSetBoolean

create/overwrite the value of the Boolean key;

JSONSetDateTime

create/overwrite the value of the date/time key;

JSONSetFloat

create/overwrite the fractional value of the key;

JSONSetInteger

create/overwrite the value of the integer key;

JSONSetString

create/overwrite the value of the string key.

 

General purpose


JSONArrayLength

get the size of a JSON array;

JSONArraySetLength

create a specified size array;

JSONKeyExists

check if the key with a specified name exists in JSON object;

JSONValid

check if the JSON object syntax is correct;