title: Method to convert JSONObject to List<NameValuePair>
body: <p>Hi iam creating an android application. In my application i have some form fields like edittext and radio buttons i am creating a <code>JSONObject</code> by retrieving text from all the form fields. JsonObject is created successfully. Now i want to pass this object to my PHP page where i have written code for getting this details and storing it in database. My problem is i am not understanding how to send this JSON object through <code>httpPost</code> or <code>httpGet</code> method. Only way i know is send parameters through <code>List&lt;NameValuePair&gt;</code> so i'm trying to convert JSONObject to <code>List&lt;NameValuePair&gt;</code>. Can anybody provide a method which can directly convert my JSONObject to <code>List&lt;NameValuePair&gt;</code>. Is there any predefined method for doing this. Or can any one provide solution where i can directly send by JSONObject to PHP and retrieve there.</p>