SetJSONQuad()

Syntax

SetJSONQuad(JSONValue, Value.q)
Description
Change the type of the JSON value to #PB_JSON_Number and store the given quad value.

Parameters

JSONValue The JSON value.
Value.q The value to store.

Return value

None.

Example

  If CreateJSON(0)
    ArrayValue = SetJSONArray(JSONValue(0))
    SetJSONQuad(AddJSONElement(ArrayValue), 1)
    SetJSONQuad(AddJSONElement(ArrayValue), 2)
    SetJSONQuad(AddJSONElement(ArrayValue), 3)
    
    Debug ComposeJSON(0)
  EndIf

See Also

GetJSONQuad(), SetJSONArray(), SetJSONBoolean(), SetJSONDouble(), SetJSONFloat(), SetJSONInteger(), SetJSONNull(), SetJSONObject(), SetJSONString()

Supported OS

All

<- SetJSONObject() - Json Index - SetJSONString() ->