title: How to replace a value of a json file in java
body: <p>Hello members of stackoverflow,</p>
  
  <p>I need some help with replacing a line in a json file. I have attempted using the same method i use to replace a line in a text file with no success.</p>
  
  <p>Basically the json file contains the following string:</p>
  
  <pre><code>  "id": "TEXT",
  </code></pre>
  
  <p>And i want to replace the "TEXT" with "HELLO"</p>
  
  <p>How would i do this, also i have the 'json_simple' library imported if that is of any use for this.</p>
  
  <p>Any help with this would be greatly appreciated.</p>
  
  <p>Thanks.</p>