+ Start a Discussion
Salesforce_ckumarSalesforce_ckumar 

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.

AshanAshan

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 );