SetJSONQuad()

语法

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

参数

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

返回值

无.

示例

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

参阅

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

已支持操作系统

所有

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