title: JSON <-> XML in C/C++
body: <p>I've been searching to no avail for a set of routines to do conversion between JSON and XML. I have found such routines in Javascript, Java, PHP, and Python, but not in C or C++.</p>
  
  <p>FWIW, my json library is json-spirit. I am currently processing JSON, and would like to add XML support via a conversion layer (convert incoming messages from XML to JSON, process them, convert results back to XML, and them out).</p>
  
  <p>Does anyone have any pointers? </p>
  
  <p>I've also seen a number of references to badgerfish, rayfish, rabbitfish... encoding conventions, but they seem to point to dead URLs. Is there a reference somewhere which describes each convention?</p>
  
  <p>And yes, I've checked on json.org. </p>