title: Read json file from resources and convert it into json string in JAVA
body: <p>I have this JSON string hardcoded in my code.</p>
  
  <pre><code>String json = "{\n" +
                "    \"id\": 1,\n" +
                "    \"name\": \"Headphones\",\n" +
                "    \"price\": 1250.0,\n" +
                "    \"tags\": [\"home\", \"green\"]\n" +
                "}\n"
  ;
  </code></pre>
  
  <p>I want to move this to resources folder and read it from there,
  How can I do that in JAVA?</p>