Working with XML in C++ seems a bit of a pain and I’m looking at a way to output JSON.
I’ve stumbled on two different approaches:
A) XSLT transformations:
http://controlfreak.net/xml-to-json-in-xslt-a-toolkit/
B) Dedicated library such as this:
https://github.com/Cheedoong/xml2json
I’m new to programming so pursuing an avenue is a very time consuming process. If possible id like to get some feedback on what might be a more recommended approach before I start.
I’m pulling in about 5000 xml entities and outputting json with curl to another server
Any help or advice would be appreciated.