The string that you get is just the JSON Object.toString(). It means that you get the JSON object, but in a String format.
If you are supposed to get a JSON Object you can just put:
JSONObject myObject = new JSONObject(result);
More Related Contents:
- JSON Parsing to multiple TextView [duplicate]
- How can i get a JSON value [duplicate]
- How to read below JSON data from API using retrofit? from struts and hibernate service,i am getting and sending data using Bean class from api [duplicate]
- how to parse JSONArray in android
- Get nested JSON object with GSON using retrofit
- Convert string to JSON array
- How to parse a dynamic JSON key in a Nested JSON result?
- How can I parse a local JSON file from assets folder into a ListView?
- Android JSONObject – How can I loop through a flat JSON object to get each key and value
- Retrofit Expected BEGIN_OBJECT but was BEGIN_ARRAY
- Gson – convert from Json to a typed ArrayList
- What is the basic purpose of @SerializedName annotation in Android using Gson
- How do I parse JSON from a Java HTTPResponse?
- creating Hashmap from a JSON String
- How to check if a JSON key exists?
- java.net.SocketException: socket failed: EPERM (Operation not permitted)
- Deserializing Generic Types with GSON
- Getting JSONObject from JSONArray [duplicate]
- Convert object to JSON in Android
- org.json.JSONArray cannot be converted to JSONObject
- How do I remove a specific element from a JSONArray?
- How to parse a JSON Input stream
- Android JSON parsing of multiple JSONObjects inside JSONObject
- JSON parsing to Java – Android application
- Reading a Json Array in android
- Using AsyncTask with passing a value
- How to test if a JSONObject is null or doesn’t exist
- How to convert JSONArray to List with Gson?
- How to parse with GSON when identifier has space in name
- Retrofit GSON serialize Date from json string into java.util.date