You need to sign in to do that
Don't have an account?

Deserialize json and show in Visual page
I have a json file :
{"@odata.context":")","value":[{"id":"DA5019C32CA4C20F!107","name":"770-small.jpg","webUrl":""},{"id":"DA5019C32CA4C20F!108","name":"images.png","webUrl":""},{"id":"DA5019C32CA4C20F!109","name":"Salesforce_com_thumb230.png","webUrl":""}]}
I need to show this JSON file in VF table .
Need to get the id name and web url in three cloumn in table.
Please Help . Thanks in advance .
{"@odata.context":")","value":[{"id":"DA5019C32CA4C20F!107","name":"770-small.jpg","webUrl":""},{"id":"DA5019C32CA4C20F!108","name":"images.png","webUrl":""},{"id":"DA5019C32CA4C20F!109","name":"Salesforce_com_thumb230.png","webUrl":""}]}
I need to show this JSON file in VF table .
Need to get the id name and web url in three cloumn in table.
Please Help . Thanks in advance .
I has stored the JSON in the description field on the contact and following code works for you scenario.
read the value in the object structure to display on the page, there are other ways also to do this, but I think if you want to use the apex and visualforce, this is the right approach.
Let me know if this helps