+ Start a Discussion
USHA R 5USHA R 5 

JSON Error When passing list from lightning to apex

Hi,
When I am trying to pass list from my lightnig controller to apex I am using JSON.Stringify()
And deserializing it in Apex controller.
But it is throwing me the below error
"System.JSONException: Json Deserialization failed on token 'null' and has left off in the middle of parsing a row. Will go to end of row to begin parsing the next row"

Can anyone help me on this please??

Thanks!!
 
NagendraNagendra (Salesforce Developers) 
Hi Usha,

Sorry for this issue you are encountering.

May I suggest you please check with below post from stack exchange community with a similar discussion which might help you. Please let us know if this helps.

Thanks,
Nagendra.
USHA R 5USHA R 5
Hi Nagendra,
Thanks for your reply. But I tried the same and getting the error.No clue