Linked Questions

0
votes
1answer
37 views

Apex to parse JSONArray stored in "Custom Metadata Type" [duplicate]

I'm trying to parse the JSONArray that has been stored in the Custom Metadata Types. 1.The JSONArray(Stored in Custom Metadata) looks like, [{ "time": "5 AM", "leads&...
0
votes
1answer
170 views

How to loop trough second level deserializeUntyped Json String [duplicate]

PLEASE NOTE: deserializeUntyped not deserialize! I currently loop trough a jsonPayload which is working fine for the nodes of the first level.How can I achieve this for the node(s) of the second level ...
0
votes
0answers
44 views

How to extract a specific URL value from JSON response [duplicate]

I am sending a API request to a third party system called quip and I am trying to extract a particular URL from the JSON response that I am receiving on that call, through apex code. The JSON response ...
0
votes
0answers
45 views

Custom Merge Field Named Credential Apex

I am integrating with GoToWebinar using a Named Credential to make Apex Callouts. While the Authentication piece is working well, during the Callback to get the access token, there are some additional ...
0
votes
0answers
39 views

How to extract numbers from json string in apex [duplicate]

JSON Body { "60":{"name":"test_Z","provider":"21","status":"enabled"}, "61":{"name":"test_S",&...
0
votes
1answer
291 views

How to deserialize the following JSON to get the list of values? [duplicate]

I have used the code below to deserialize the json but throwing an error. Map<String,Object> root =(Map<String,Object>)JSON.deserializeUntyped(res.getBody())); "Callout error Invalid ...
0
votes
0answers
47 views

How to parse json string in map or list [duplicate]

Please help for parse json response. My json String is { "result":[ { "parent":"", "made_sla":"true", "caused_by":"", "watch_list":"", "...
0
votes
2answers
37 views

I need to deseralize this json responce and get the attributes to display in pageblock table [duplicate]

{ "id": "LC-NCLDMHG", "created": "2018-06-12T18:59:00-07:00", "type": "longForm", "source": "Zillow", "price": 70, "sender": { "emailAddress": "testborrower@gmail.com", ...
0
votes
0answers
49 views

JSON Parser in Apex [duplicate]

The image shows my JSON Parser Value. I've attached my apex code below. While I run that code I'm getting the value which I've lined it in black color. But I need to get the value which I've lined in ...
0
votes
2answers
1k views

How to iterate below JSON in salesforce [duplicate]

Need to iterate WorkorderID .......values ....and these are List Objects which has List of Map and values is an array [] "answers": [ { "labelFullPath": { "path": "...
0
votes
1answer
722 views

JSON string unserialize to APEX using wrapper class [duplicate]

I'm not able to get rows list....it is coming null from below code. public class ParsingTest1 { public ParsingTest1() { String jsstring = '{"totalsForAllResults": {"users": "...
0
votes
2answers
291 views

Help Parsing JSON Body

Im trying to get the Id and Name from JSON Body that I requested, and put the value into custom object { "id": "ab24ddb8-f1ef-4cca-ae72-9f20f5975332", <-- THIS "name": "App Dev Account", <-- ...
0
votes
2answers
162 views

How to deserialize my json result? [duplicate]

I'm calling one rest API and it's working properly but I'm not able to deserialize it's reesult. Below in mentioned my code and what response in I'm getting,I want city value in city variable and ...
-2
votes
1answer
186 views

i want to parse the following JSON String. Please help [duplicate]

I have two objects MDM_Object_Mapping__c(parent) and MDM_Field_Mapping_ims__c(chaild) are in MD relationship. My JSOn String is: public static List < JSON3Apex > parse(String json) { ...
0
votes
1answer
6k views

Parse Json String to object [duplicate]

Can anyone help me understand on how to parse the response in to a JSON object from string. String s = [{"id":"12345","Account":"31338","name":"Accounttest","subaccounts":[{"id":"39658"}]}] I'm ...

15 30 50 per page