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 formatter/builders don't support all the data types defined in the JSON spec #61

Open
s3valkov opened this issue Feb 7, 2023 · 0 comments

Comments

@s3valkov
Copy link

s3valkov commented Feb 7, 2023

JSON mapped attributes with values of non string data types produce an error when the builder attempts to parse the stream. The following have been observed to fail when specified as values:

1 numeric (with no quotes)
2 boolean (with no quotes)
3 a subset of escaped characters inside a quoted string (e.g.'\b' backspace ascii x08)
4 null

These are all legal values in the JSON spec. http://www.ietf.org/rfc/rfc4627.txt You can use this as a guideline for what to verify.

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