TJSONData.GetPath
Get data by name.
Declaration
Source position: fpjson.pp line 187
public
function TJSONData.GetPath(const APath: TJSONStringType) : TJSONData;
Description
GetPath is identical to FindPath but raises an exception if no element was found. The exception message contains the piece of path that was not found.
Errors
An EJSON exception is raised if the path does not exist.
See also
| Name |
Description |
| FindPath |
Find data by name. |