You need to sign in to do that
Don't have an account?
Parsing JSON Array problem.
im getting a http response in the form of JSON array,, is there any support for parsing it in apex class.
You need to sign in to do that
Don't have an account?
im getting a http response in the form of JSON array,, is there any support for parsing it in apex class.
This wll help you
http://techblog.appirio.com/2010/01/calling-rest-web-service-json-with-apex.html
The important thing is json string should start with '{' to pass to this.
Ex:
JSONObject j = new JSONObject( jasonString );