SetJSONNull()

Syntax

SetJSONNull(JSONWert)
Beschreibung
Löscht den JSON-Wert und setzt den Typ auf #PB_JSON_Null.

Parameter

JSONWert Der JSON-Wert.

Rückgabewert

Diese Funktion gibt keinen Wert zurück.

Beispiel

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

Siehe auch

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

Unterstützte OS

Alle

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