You need to sign in to do that
Don't have an account?
USHA 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!!
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!!
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.
- https://salesforce.stackexchange.com/questions/147632/how-to-pass-sobject-list-to-apex-from-lightning
Please let us know if this helps.Thanks,
Nagendra.
Thanks for your reply. But I tried the same and getting the error.No clue