Skip to content
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

JSON Validator incorrectly allows quoted booleans and numbers #30

Open
caistrop opened this issue Jul 6, 2020 · 0 comments
Open

JSON Validator incorrectly allows quoted booleans and numbers #30

caistrop opened this issue Jul 6, 2020 · 0 comments

Comments

@caistrop
Copy link

caistrop commented Jul 6, 2020

The JSON validator incorrectly allows quotes around boolean and numeric values.
For example if you had a Patient resource with a property of ("active":"true")
The Validator accepts the above json, however to be valid json, the "true" should be unquoted ("active" : true)
The same happens for numbers ("multipleBirthInteger" : "2") will pass validation, but to be json conformant, it should be ("multipleBirthInteger" : 2)

@caistrop caistrop changed the title JSON Validator incorrcetly allows quotes booleans and numbers JSON Validator incorrcetly allows quoted booleans and numbers Jul 6, 2020
@caistrop caistrop changed the title JSON Validator incorrcetly allows quoted booleans and numbers JSON Validator incorrectly allows quoted booleans and numbers Jul 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant