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

[smile] Fail to report error for trying to write field name outside Object (root level) #19

Closed
cowtowncoder opened this issue May 13, 2016 · 0 comments
Milestone

Comments

@cowtowncoder
Copy link
Member

(note: same as #18)

Current check for writeFieldName() does not prevent write at root level (or possibly even in array?), and happily writes a text value. This should not be allowed as it is likely to result in invalid output.

Note: same problem occurs with CBOR and Smile as well; possibly with other format backends as well.

@cowtowncoder cowtowncoder added this to the 2.8.0 milestone May 13, 2016
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