5

It is impossible explicitly, however, you can deserialize you String into List< Object> and then cast your Object in for-loop to Map< String, Object>: String jsonString = '[{"id":2,"name":"Abc_SS","description":"Abc"},{"id":100,"name":"sales","description":"sales"}]'; List<Object> items = (List<Object>) JSON.deserializeUntyped(jsonString);...


3

You've got a syntax error in there: <apex:inputField value="{!CustomObject__c.W__c}" rendered="{!CustomObject__c.RealNumber__c < !CustomObject__c.TargetNumber__c}" /> should be <apex:inputField value="{!CustomObject__c.W__c}" rendered="{!CustomObject__c.RealNumber__c < CustomObject__c.TargetNumber__c}" /> Once you're in the expression ...


1

My overlapping answer that converts to the list of map of string to object is very like Mariia's: String theJsonString = '[{"id":2, "name":"Abc_SS", "description":"Abc"}, {"id":100, "name":"sales", "description":"sales"}]'; Object theJsonObject = JSON.deserializeUntyped(theJsonString); List<Object> theJsonList = (List<Object>) theJsonObject; ...


Only top voted, non community-wiki answers of a minimum length are eligible