Engine Help Category: Json
Filtered overview of the Engine Help documentation.
@JsonAdd
This @Function adds a new value to an existing JSON object or JSON array. The behavior and meaning of the optional parameters depend on whether HJSON references a JSON object or a JSON array. For a JSON object, VALUE is …
@JsonCreate
This @Function creates a new empty JSON structure and returns a VSPECHJSON (HJS) handle. If the function is called without parameters, a JSON object is created by default. If the optional JSONTYPE parameter is set to "Ar …
@JsonGet
This @Function reads a value from an existing JSON object or JSON array and, where possible, converts it into a corresponding Engine data type. The behavior of the second parameter depends on whether HJSON references a J …
@JsonGetKeys
This @Function returns all keys of a JSON object as a TEXTLIST. HJSON must contain a valid VSPECHJSON (HJS) handle referencing a JSON object. JSON arrays are not supported by this function. Each key of the JSON object is …
@JsonParse
As input, either TEXT or a VSPECBINBUFFER can be supplied. The content is interpreted as JSON and must be encoded in UTF-8. If parsing is successful, @JsonParse returns a VSPECHJSON (HJS) handle to the created JSON struc …
@JsonRelease
This @Function releases a previously created VSPECHJSON (HJS) handle. The function decreases the reference count of the JSON object or array referenced by HJSON. If the reference count reaches zero, the JSON structure an …
@JsonRemove
This @Function removes a value from an existing JSON object or JSON array. For a JSON object, the second parameter must be a TEXT KEY. The value associated with the specified key is removed from the object. For a JSON ar …
@JsonSerialize
This @Function serializes a JSON object or JSON array and returns its complete JSON text representation. The generated JSON is returned in compact format without additional indentation or line breaks. Strings contained i …
@JsonSize
This @Function returns the number of elements in a JSON array or the number of keys in a JSON object. For a JSON array, the return value is the number of array elements contained in the array. For a JSON object, the retu …
@JsonType
This @Function determines the type of a JSON structure. HJSON must contain a valid VSPECHJSON (HJS) handle referencing a JSON object or JSON array. As return value, the @Function returns TEXT containing one of the follow …
