Zum Inhalt

GetObjectFromJSON (Opus Funktion)

Beschreibung

Diese Funktion generiert aus einem Json String ein Objekt. Parses a JSON string and returns the corresponding Opus object. Set StrictJSON to 1 to enforce strict JSON syntax.

Argumente

Name

Typ

Beschreibung

JSON

string

the JSON string to parse

StrictJSON

integer

(optional)

1 = strict JSON parsing

0 = lenient (allows unquoted keys)

Rückgabewert Object

an Opus object built from the JSON string

Beispiel

Lo_Request = GetObjectFromJSON(GetStringFromUtf8Blob(Lo_Data.Data));

Lo_Data1 = GetObjectFromJSON(v1.StringValue1);

Siehe auch