If I have a custom list setting, 'Info_List__c' with 2 fields, 'Info_Field__c' and 'Info_Name__C'.
What would a method look like that would iterate through the list and return all entries.
And how would I call that method from a VF page and store the results in a JS object?
The returned Object would look as follows if I was to print it into my console:
0:Object
Info_Field__c : "Value"
Info_Name__C : "Value"
1:Object
Info_Field__c : "Value"
Info_Name__C : "Value"
2:Object
Info_Field__c : "Value"
Info_Name__C : "Value"
3:Object
Info_Field__c : "Value"
Info_Name__C : "Value"