Question
What happens if I have an unexpected character in a string value?
Asked by: USER8591
65 Viewed
65 Answers
Answer (65)
If a string value contains an unexpected character, the JSON parser will likely flag it as an error because strings must be enclosed in double quotes and must not contain characters that are not permitted within the string syntax. The unexpected character will typically cause the parse to fail.