Questions tagged [inner-class]

An inner class or nested class is a class declared entirely within the body of another class or interface. It is distinguished from a subclass.

6 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
1
vote
0answers
29 views

Complex type passed by aura component to apex method

we have this inner class: public class Documents { @AuraEnabled public String type; @AuraEnabled public List<Custom_Document__c> documents; } And we use it in a method declared like ...
0
votes
1answer
59 views

Complex JSON Parsing - Beware

Not for the faint of heart. Trying to do a Scalyr integration, and wrestling with some pretty difficult JSON. I have used JSON2Apex which generated several inner classes, and the Apex and JSON are ...
0
votes
1answer
182 views

LWC: Error accessing Inner class from javascript

Im running into the following javascript error when trying to display inner class data on my LWC. This was working fine until I added ".data" to my output variables for employerAddress to resolve ...
0
votes
0answers
34 views

Parsing the following JSON response

I need to parse the PRIM_CITYAC,PRIM_STATEAC,PRIM_COUNTRY_NMAC from the following response. I'm very new to REST API. I've create inner class with list in order to obtain the values. Now i got those ...
0
votes
1answer
39 views

how to retrive list from inner class

class code: public list<innerclass> inclass= new list<innerclass>(); public class innerclass { public string accountid{get; set;} public string accountname{get; set;} ...
0
votes
1answer
303 views

how to assign data from Inner class to out class

i have succesfully parse my JSON data. but now i want data back from following APEX method "getCustomerData()" like below: DxModel[id=2, email=asd@GMAIL.COM, first_name=clerk, last_name=dx, ...