I am trying to generate some JSON from an XML file, but not a straightforward conversion. I wish to pick and choose bits and have a slightly different structure.
I would rather not just concatenate a giant string together and was wondering if there were some decent libraries around to do this.
Also, for testing I would like to be able to validate the created json, just a simple check to see if it is valid JSON