You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While parsing an object, a string at the end of an object that should throw an exception is ignored.
Both of these cases will be accepted without throwing an error in the current version (4.0.0):
{ "a": 1, "b" }
{ "a": 1, "b": }
The output with default settings is:
{"a": 1}
The "b" in the input text is interpreted as a property name, but there is no associated value. Therefore, it's invalid JSON. The correct behavior is to throw an exception to indicate that.
The text was updated successfully, but these errors were encountered:
While parsing an object, a string at the end of an object that should throw an exception is ignored.
Both of these cases will be accepted without throwing an error in the current version (4.0.0):
The output with default settings is:
The "b" in the input text is interpreted as a property name, but there is no associated value. Therefore, it's invalid JSON. The correct behavior is to throw an exception to indicate that.
The text was updated successfully, but these errors were encountered: