Linked Questions

0
votes
1answer
75 views

How to get Nested JSON values [duplicate]

EDIT: Object result = JSON.deserializeUntyped(payload); if (result instanceof Map<String, Object>) { Map<String, Object> resultMap = (Map<String, Object>)result; system....
-3
votes
1answer
71 views

Sending Salesforce fields in JSON to external system Json generator [duplicate]

I have less experience in coding. I have a requirement to send Salesforce record to External system whenever we create a record in SF, create an incident in External system. I wrote a class and a ...
0
votes
1answer
45 views

Wrapper class representation of JSON. Error “Inner types are not allowed to have inner types” [duplicate]

I am trying to parse JSON into string format in apex.The JSON format is { "GenerationTime": "20200119170533", "ResponseCode": "MSK", "ValidationExceptions": [{ "SettlementDate"...
0
votes
0answers
38 views

How to Desrialize a complex object in apex [duplicate]

I have a json put as below. can someone help me to deserilase it in apex? without class? { "QueryResult": { "ContractInfo": { "ID": "1684409", ...
0
votes
0answers
31 views

Update the records from JSON string in apex [duplicate]

I have a JSON string in the format '{"key1":{"Field1__c":"false", "Field2__c":"false","Id":"XXXXXXXXXX909"}}' I need to update the ...
0
votes
1answer
29 views

Parsing nested json in apex [duplicate]

I have an input json like the following. It has contact fields and a nested object for another contact. I'm using Postman to send requests. { "Id": "0036D00000H24bHQAR", "...
0
votes
0answers
21 views

Required Inputs on @RestResource(URLMapping) httpgetResponse [duplicate]

can someone provide any Idea on below requriement: my requirment is : We received JSON data ( complex have Tree structured more than 300 values) , Based on JSON data , need to generate Response . For ...
0
votes
0answers
12 views

How to parse the below nested lookup JSON to get all the ObjectM attributes in one list [duplicate]

{ "Quote_I": { "Quoteid": "a835eaa1-edd0-4f90-88d2-d907bb61b770", "QLI": [ { "quoteLineItemId": "", "IsConfigurationValid": "true", ...
-1
votes
0answers
10 views

How to inner object value in an array? [duplicate]

I have submitted the same question almost a couple of hours back, but someone has posted a link. Am sorry for that, am very new to this coding. But i managed to print all the key and values of this ...
1
vote
2answers
74 views

How to parse inner child aray/object?

please do not close my case. I have submitted the same question couple of times yesterday, but someone has posted a link. Am sorry for that, am very new to this coding. But i managed to print all the ...
-1
votes
1answer
41 views

FATAL_ERROR System.JSONException: No content to map to Object due to end of input in apex

I am trying to parse JSON into a string format in apex.The JSON format is { "GenerationTime": "20200119170533", "ResponseCode": "MSK", "ValidationExceptions": [{ "...
1
vote
1answer
51 views

Responsive JSON data

Hi my requirment is : In RestExplorer, Get Method, When i pass below URL # /services/apexrest/partyInquiry?recordId=a1K2F000000Wsom I can get Results below Structure : { "caseInfo": { &...