Hi
I need to get the name of an object or value in a JSON file. I don’t know the structure of the file in advance, therefore I need the names. Have looked in the documentation for jFiles but have not become much wiser.
But maybe I have completely misunderstood something.
The Json is stored as a “tree” (once you’ve done a Load).
You can then “walk” the tree using Records and Get.
If you look in jfiles.clw you’ll find a WalkNames method that “walks” the tree and sends the information to debugview++. That will be a good example for you.
Thanks for the help. It works fine.
But I have had to remove “RPIVAT” on ObjectName in jfiles.inc.
My abilities are not sufficient to see if it’s wise to do or if there is another way?