This documentation was styled with a demo skin from the Premium Pack 4 add-on for Help & Manual. The contents of the skin are encrypted and not configurable. You can only publish HM projects with this skin. You cannot edit it or change it.
This version is copyright and may only be used for local testing purposes. It may not be distributed.
Please purchase the full version of the Premium Pack to get the configurable skins and remove this notice. The package will also include the Toolbox configuration utility for Premium Pack skins.
Description
Returns text description of the last path element in specified path.
Syntax
pathElementName = <CCJson>.Path.Name(pathSpecification)
Returns
String, last element name in path
Parameters
Name |
Type |
Optional |
Meaning |
pathSpecification |
Tokens |
No |
Path specification further explained in CJSon path specification topic. |
Remarks
Restrictions
See also
Examples
uses "cjson", "console"
dim json as new CCJson ' Create an empty CCJson object
json.Parse("[{""name"": ""Eros""}, {""name"": ""Roberto""}]") ' Parse valid JSON string
printl "Last element is: " + json.Path.Ptr((1).(1)) ' Useful when walking the JSON just via index
' Here we go for the first item in the first array element
' and it will print "name"
waitkey