title: java string to json element conversion
body: <p>I am trying to convert java string object into Jsonelement by given code , but getting error for line -- JsonElement jelement = ((Object) new JsonParser()).parser(result);</p>
  
  <pre><code>BufferedReader reader=new BufferedReader(new FileReader("/home/Priyanka/Documents/json/temp.json"));
  
      StringBuilder content=new StringBuilder();
      String result=null;
      String line = null;
  
          while ((line = reader.readLine()) != null) {
            content.append(line);
          }
  
       reader.close();
       result= content.toString();
       JsonElement jelement = ((Object) new JsonParser()).parser(result); // Error line
  
       printJsonRecursive(result);
  </code></pre>