GetJSONString()

Syntax

Result$ = GetJSONString(JSONValue)
Description
Return the value of a JSON value of type #PB_JSON_String as a string.

Parameters

JSONValue The JSON value. The value must be of type #PB_JSON_String.

Return value

The string contained in the JSON value.

Example

  ParseJSON(0, Chr(34) + "The quick brown fox jumped over the lazy dog" + Chr(34))
  
  Debug GetJSONString(JSONValue(0))  

See Also

SetJSONString(), GetJSONBoolean(), GetJSONDouble(), GetJSONElement(), GetJSONFloat(), GetJSONInteger(), GetJSONMember(), GetJSONQuad(), JSONType()

Supported OS

All

<- GetJSONQuad() - Json Index - InsertJSONArray() ->