You need to sign in to do that
Don't have an account?
Aviator517
Parsing JSON in Apex
I have this JSON code, that I'd like parsed within and apex controller and displayed on a Visualforce page.
{"Object1":[{"id":1,"name":"SomeName"}],"Object2":[{"id":1,"location":"SomeLocation"}]}
I feel like this should be fairly simple, but can't get it to work. Can anyone point me in the right direction?
{"Object1":[{"id":1,"name":"SomeName"}],"Object2":[{"id":1,"location":"SomeLocation"}]}
I feel like this should be fairly simple, but can't get it to work. Can anyone point me in the right direction?
Ramu_SFDC
Please review the JSONParser class methods at the link http://www.salesforce.com/us/developer/docs/apexcode/Content/apex_json_jsonparser.htm