Parsing string to Json in the Constructor
<p>HY!!</p>

<p>I have a Json class, so i will parse in the constructor the json string to JSonObject.</p>

<pre><code>    public class JSONParse extends JSONObject  {

        public JSONParse(string json) {
//pseudo code
        this.obj = new JSONObject(EntityUtils.toString(json));
        }
    }
</code></pre>

<p>please help</p>
