endocrimes/Jay

Also conform to RFC7159

czechboy0 opened this issue · 4 comments

@czechboy0 Jay does not conforms to RFC ? what is missing

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?

maybe I can help with that

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!