Also conform to RFC7159
czechboy0 opened this issue · 4 comments
czechboy0 commented
- http://tools.ietf.org/html/rfc7159
- add option to accept fragments, but don't by default (will require changes in the way we ensure reading isn't finished)
krzyzanowskim commented
@czechboy0 Jay does not conforms to RFC ? what is missing
czechboy0 commented
Jay now conforms to RFC4627 (the original JSON standard), but not yet to RFC7159 (updated JSON standard).
The only changes I've noticed are that the new JSON standard allows fragments, whereas the old one only allows array or object as the top level object. So the only changes needed are to add an option to also parse non-container types at the top level.
Do you need fragments on top level?
krzyzanowskim commented
maybe I can help with that
czechboy0 commented
I started on it yesterday but discovered it will require quite lot of changes. So I'd prefer to only add it if people really need it.
Pretty printing on the other hand is up for grabs, that would be great to have!