-
-
Notifications
You must be signed in to change notification settings - Fork 6.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
how should I check a string is valid JSON string ? #653
Labels
solution: duplicate
the issue is a duplicate; refer to the linked issue instead
Comments
ok, I noticed my question is just the same as #458 , so there will be a validation function in Release 3.0.1 ? |
This is planned for 3.0.0, but I need to decide on how to best expose all possible parser/validation/format combinations which I discussed in #623. Therefore, this may take a while. |
nlohmann
added
the
solution: duplicate
the issue is a duplicate; refer to the linked issue instead
label
Jul 11, 2017
Duplicate of #458. |
@nlohmann any news ? |
In python use type(string_name) |
that is true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I read all examples, but I didnt find a way to check a string is valid JSON string.
Is there an API to achieve this ? or I have to use "try catch" to check exceptions ?
thanks ^_^
The text was updated successfully, but these errors were encountered: