SetJSONNull()

语法

SetJSONNull(JSONValue)
概要
Clear the JSON value and set the type to #PB_JSON_Null.

参数

JSONValue The JSON value.

返回值

无.

示例

  ParseJSON(0, "[1, 2, 3, 4, 5]") 
  SetJSONNull(GetJSONElement(JSONValue(0), 2))
  SetJSONNull(GetJSONElement(JSONValue(0), 3))
  Debug ComposeJSON(0)

参阅

SetJSONArray(), SetJSONBoolean(), SetJSONDouble(), SetJSONFloat(), SetJSONInteger(), SetJSONObject(), SetJSONString(), SetJSONQuad()

已支持操作系统

所有

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