title: how to remove a json object from a json file?
body: <p>I want to remove age from this json file <code>using org.json</code> or <code>com.googlecode.json-simple</code>?</p>
  
  <p>Suppose this json objects are in a file test.json?</p>
  
  <pre><code>    {
          "age":100,
          "name":"mkyong.com",
          "messages":["msg 1","msg 2","msg 3"]
      }
  </code></pre>
  
  <p>After removing the file test.json should be.</p>
  
  <pre><code>    {
          "name":"mkyong.com",
          "messages":["msg 1","msg 2","msg 3"]
      }
  </code></pre>
  
  <p>Please tell me how to take out the json object out of the json file?</p>