SetJSONInteger()
Syntax
SetJSONInteger(JSONValue, Value)Description
Change the type of the JSON value to #PB_JSON_Number and store the given integer value.
Parameters
JSONValue The JSON value. Value The value to store.
Return value
None.
Example
If CreateJSON(0) ArrayValue = SetJSONArray(JSONValue(0)) SetJSONInteger(AddJSONElement(ArrayValue), 1) SetJSONInteger(AddJSONElement(ArrayValue), 2) SetJSONInteger(AddJSONElement(ArrayValue), 3) Debug ComposeJSON(0) EndIf
See Also
GetJSONInteger(), SetJSONArray(), SetJSONBoolean(), SetJSONDouble(), SetJSONFloat(), SetJSONNull(), SetJSONObject(), SetJSONString(), SetJSONQuad()
Supported OS
All