Activity Forums Salesforce® Discussions How do I resolve this error 'System.JSONException' in Salesforce?

  • How do I resolve this error 'System.JSONException' in Salesforce?

    Posted by Shweta on October 8, 2020 at 4:34 pm

    How do I resolve this error 'System.JSONException, Unexpected character ('<' (code 60)): expected a valid value (number, String, array, object, 'true', 'false' or 'null') at input location [1,2] in Salesforce?

    Deepak replied 4 years, 1 month ago 2 Members · 1 Reply
  • 1 Reply
  • Deepak

    Member
    October 8, 2020 at 4:56 pm

    Try this:
    String jsonInput = '{"email":"[email protected]","LastName":"ABCD","FirstName":"ACFPY","Suffix":"","Title":"Engineer","Psw":"","PhoneCode":"","Phone":"100-000-000"}';

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos