function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Nitish Kumar 38Nitish Kumar 38 

Input too long error when sending JSON string from Lightning controller to apex method

I am trying to pass JSON string from Lightning controller to apex method

var json_itemlist = JSON.stringify(aMap);
var action = component.get("c.getComponentDetails");
action.setParams({"mapComponents" : string});

I get Input too long error when the size of json_itemlist is greater than 100000. 

Can any one suggest any way to overcome this limitation ?