You need to sign in to do that
Don't have an account?
Visualforce Remoting Exception: Unexpected character ('n' (code 110)): was expecting double-quote to start field name at [line:1, column:3]
Hello All,
I am getting the below exception when calling a Remote action method
inside the controller class
Visualforce Remoting Exception: Unexpected character ('n' (code 110)): was expecting double-quote to start field name at [line:1, column:3]
Code i am using, which is giving error
Map<String, Object> inputData = (Map<String, Object>)JSON.deserializeUntyped(newCustomerFormJSON);
I am getting the below exception when calling a Remote action method
inside the controller class
Visualforce Remoting Exception: Unexpected character ('n' (code 110)): was expecting double-quote to start field name at [line:1, column:3]
Code i am using, which is giving error
Map<String, Object> inputData = (Map<String, Object>)JSON.deserializeUntyped(newCustomerFormJSON);
thanks for quick response.
I already checked that json is correct, issue is resolve actual issue is when I am debugging inputdata map then it’s giving exception.
I try to give the correct kye in the debug now the issue is resolve.
thanks again for quick response.
All Answers
This issue occurs when there is an issue with the JSON. I recommend validating your JSON using any tool for example https://jsonlint.com/
See this answer on Salesforce Stack Exchange as a reference.
Anudeep
thanks for quick response.
I already checked that json is correct, issue is resolve actual issue is when I am debugging inputdata map then it’s giving exception.
I try to give the correct kye in the debug now the issue is resolve.
thanks again for quick response.