Favoritehiteshwar marni (Cloudsynapps) asked in #IntegrationAug 4, 2017, 5:48 AMhow to parse below json response in apex{ "destination_addresses" : [ "Bengaluru, Karnataka, India" ], "origin_addresses" : [ "Hyderabad, Telangana, India" ], "rows" : [ { "elements" : [ { "distance" : { "text" : "576 km", "value" : 575574 }, "duration" : { "text" : "8 hours 33 mins", "value" : 30763 }, "status" : "OK" } ] } ], "status" : "OK" }Thanks 5 answersSortSort by Most HelpfulSort by Most HelpfulSort by DateMohit Mathuriya (Deloitte)Jun 4, 2020, 11:35 AMI am getting the below response while hitting API endpoint. I wanted to store the value of token into a string."token": "eyJraWQiOiIyNlN1NHFMNnVVZmlkIiwibW9iaWxlX3VzZXIiXSwic3"How can I achieve this?LoadingWrite an answer...BoldItalicUnderlineStrikethroughBulleted ListNumbered ListAdd linkCode blockInsert imageAttach filesLink URLCancelSave0/9000Reply
Mohit Mathuriya (Deloitte)Jun 4, 2020, 11:35 AMI am getting the below response while hitting API endpoint. I wanted to store the value of token into a string."token": "eyJraWQiOiIyNlN1NHFMNnVVZmlkIiwibW9iaWxlX3VzZXIiXSwic3"How can I achieve this?