JSON or XML in macro?

flatlined785

Member
Joined
Jan 22, 2014
Messages
300
Reaction score
0
Points
16
I'm trying to find out if there is any way to use json, or even xml, in a script.
ideally I want to read in a json file and be able to access it as an object or whatever. Query various elements.
Even better if it can be written back.
If not json, well, xml is longer form json, so that would be better than nothing.

Searching was not getting me anywhere. Is there any way currently?
 
I haven't seen anything that directly imports either so most likely you'd need to write a plugin or macro.