Page History
...
Code Block |
---|
Result = SRP_JSON(Handle, "GETVALUE", Path, Default) |
Returns
A descendant's value if it was found, "" if not.
...
Parameter | Description |
---|---|
Handle | Handle to a JSON Entity. Required. |
Path | A formatted string indicating the desired descendant. Required. |
Default | Optional. |
Remarks
The GETVALUE service returns the value of a descendant entity somewhere within the current JSON Entity Handle. If the descendant is an object or array, then you'll get the entire JSON string for that entity. Otherwise, you'll get the element's value without extraneous formatting (like quotes around strings).
...