-
-
Notifications
You must be signed in to change notification settings - Fork 210
Additional properties support #11
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
Conversation
We should add a case for |
In case of Regarding |
Look at this: https://spacetelescope.github.io/understanding-json-schema/reference/object.html.
I think we should "bend the rule here", and support |
For me is ok support Ideas? |
You can pass it in as an argument of https://github.com/mcollina/fast-json-stringify/blob/master/index.js#L55. |
If this implementation is ok for you I'll update the docs to describe this behaviour :) |
The implementation is ok. |
Does this slows down benchmarks? I don't think so, but please check. Anyway, LGTM. |
I'll add more benchmarks in the future. |
Added support for
additionalProperties
.See discussion in #5.
Ps: I took the occasion to add a table of contents to the docs.