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
We use "json_string_reader" to verify the validity of JSON. However, for some strings(e.g. empty string, string with all blanks, \t \n ), no error is reported.
danielaparker
changed the title
json_string_reader doesnot work correctly for empty string or string with all blanks
json_string_reader does not work correctly for empty string or string with all blanks
Dec 29, 2024
Describe the bug
https://github.com/danielaparker/jsoncons/blob/master/doc/Examples.md#validate-json-without-incurring-parse-exceptions
We use "json_string_reader" to verify the validity of JSON. However, for some strings(e.g. empty string, string with all blanks, \t \n ), no error is reported.
Enumerate the steps to reproduce the bug
What is the expected behavior?
The expected result is that the "json_string_reader" can return an error.
What jsoncons library version?
The text was updated successfully, but these errors were encountered: