JSONArraySize()
语法
Result = JSONArraySize(JSONValue)概要
Returns the number of elements in a JSON value of type #PB_JSON_Array.
参数
JSONValue The JSON value. The value must be of type #PB_JSON_Array.
返回值
The number of elements in the JSON array.
示例
ParseJSON(0, "[1, 2, null, true]") Debug JSONArraySize(JSONValue(0))
参阅
SetJSONArray(), AddJSONElement(), RemoveJSONElement(), ResizeJSONElements(), ClearJSONElements(), GetJSONElement(), JSONType()
已支持操作系统
所有