Parsing individual elements from JSON object can be done from sales force Json Parser, but if the data in the Json Object is quite big then the parser will easily hit the script exception.
To parse a JSON Object with following structure can easily done a single line of code using deserialize method in Apex JSON class. But for that there should be an Object model to map the Json Object attributes into an apex Object.
Parsing individual elements from JSON object can be done from sales force Json Parser, but if the data in the Json Object is quite big then the parser will easily hit the script exception.
To parse a JSON Object with following structure can easily done a single line of code using deserialize method in Apex JSON class. But for that there should be an Object model to map the Json Object attributes into an apex Object.
No comments:
Post a Comment