TJSONData.GetPath function
Get data by name.
Declaration
function GetPath(const APath: TJSONStringType): TJSONDataArguments
APath | The path of the data element to retrieve. |
Function result
The found data element.
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
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
