SetJSONString()
Syntax
SetJSONString(JSONWert, String$)Beschreibung
Ändert den Typ des JSON-Wertes auf #PB_JSON_String und speichert den angegebenen String.
Parameter
JSONWert Der JSON-Wert. String$ Der zu speichernde String. 
Rückgabewert
Diese Funktion gibt keinen Wert zurück.
Beispiel
  If CreateJSON(0)
    ArrayValue = SetJSONArray(JSONValue(0))
    SetJSONString(AddJSONElement(ArrayValue), "with escaped new" + Chr(13) + Chr(10) + "line")
    SetJSONString(AddJSONElement(ArrayValue), "with escaped \ backslash")
    
    Debug ComposeJSON(0)
  EndIf
Siehe auch
GetJSONString(), SetJSONArray(), SetJSONBoolean(), SetJSONDouble(), SetJSONFloat(), SetJSONInteger(), SetJSONNull(), SetJSONObject(), SetJSONQuad()
Unterstützte OS
Alle