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 |
Inputs
Name | Type |
---|---|
v | SJsonValue |
Sample call:
jsonDoc := fbJson.ParseDocument(sExistingJsonDocument);
jsonProp := fbJson.FindMember(jsonDoc, 'property');
jsonValue := fbJson.SetObject(jsonProp);