About this question
There is a map passed as a parameter of a given apex method. I want the values of the map. The apex method is given below:
@AuraEnabled
public static String manageFilters(Map lines){
System.debug('### lines : ' + lines);
System.debug('### lines.values() : ' + lines.values());
for(String key : lines.keySet()){
System.debug('### lines.get(key) : ' + lines.get(key));
System.debug('### >>> ' + lines.get(key));
}
return null;
}
The map lines is not null and contains some values, here is what I can see in the system debug of lines :
{0={FieldName=AccountId, ObjectName=Opportunity, Operator=<, Value=dfg}}
How to get the value of the objectname or fieldname of the map?