JsonObject.Path() Method

Version: Available or changed with runtime version 1.0.

Retrieves the JSON path of the object relative to the root of its containing tree.

Syntax

Path :=   JsonObject.Path()

Note

This method can be invoked using property access syntax.

Parameters

JsonObject
 Type: JsonObject
An instance of the JsonObject data type.

Return Value

Path
 Type: Text
The path of the object relative to its containing JSON tree. If the object is the root of the JSON tree, the path will be empty.

See Also

JsonObject Data Type
Get Started with AL
Developing Extensions