java : String to JSON order changed
<pre><code>import org.json.JSONObject;

public class TestFile {

    public static void main(String d[]) throws Exception{

            String ch = "{'r':1,'is':'abc'}";

            JSONObject js  = new JSONObject(ch);

            System.out.println(js);

        }
}
</code></pre>

<p>When i run this program it the JSONObject prints <code>{"is":"abc","r":1}</code>, but i want in the same order of which the original string as it is.</p>

<p>please help me.</p>

<p>Thanks.</p>

<p>Regards<br>
S.Chinna</p>
