ParseDocument
![ParseDocument 1:](Images/jpg/13465018635__Web.jpg)
This method loads a JSON object into the DOM memory for further processing. The JSON object takes the form of a string and is transferred to the method as an input. A reference to the JSON document in the DOM memory is returned to the caller.
Syntax
METHOD ParseDocument : SJsonValue
VAR_IN_OUT CONSTANT
sJson : STRING;
END_VAR
Return value
Name | Type |
---|---|
ParseDocument | SJsonValue |
Inputs
Name | Type |
---|---|
sJson | STRING |
Sample call:
jsonDoc := fbJson.ParseDocument(sJsonString);