SetObject
This method sets the value of a property to the type "Object". This enables the nesting of JSON documents.
Syntax
METHOD SetObject : SJsonValue
VAR_INPUT
v : SJsonValue;
END_VAR
Return value
Name | Type |
---|---|
SetObject | SjsonValue (note possible invalidity) |
Inputs
Name | Type |
---|---|
v | SJsonValue (note possible invalidity) |
Sample call:
jsonDoc := fbJson.ParseDocument(sExistingJsonDocument);
jsonProp := fbJson.FindMember(jsonDoc, 'property');
jsonValue := fbJson.SetObject(jsonProp);