title: Parsing and Writing JSON using Ant
body: <p>Has anyone managed to parse and write JSON in a  task in Ant?</p>
  
  <p>I need to parse a json file, modify it and then write it back on disk. I managed to parse it using the rhino engine from JDK 6 but i'm stuck because I don't know how to serialize it back to disk.</p>
  
  <p>It seemes I need a JSON serializer, rhino does not apparently include one.</p>