title: How to convert a JSON string to a JSON string with a different structure
body: <p>I am building an application where data is retrieved from a third party system as a JSON string. I need to convert this JSON string to another JSON string with a different structure such that it can be used with pre-existing functions defined in a internal Javascript library.</p>
  
  <p>Ideally I want to be able to perform this conversion on the client machine using Javascript.</p>
  
  <p>I have looked at JSONT as a means of achieving this but that project does not appear to be actively maintained:</p>
  
  <p><a href="http://goessner.net/articles/jsont/" rel="nofollow">http://goessner.net/articles/jsont/</a></p>
  
  <p>Is there a de facto way of achieving this? Or do I have to roll my own mapping code?</p>