-
-
Notifications
You must be signed in to change notification settings - Fork 141
[cbor] Fail to report error for trying to write field name outside Object (root level) #18
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
Milestone
Comments
steinarb
added a commit
to steinarb/jackson-dataformats-binary
that referenced
this issue
Sep 14, 2019
…e jackson-core in karaf features (FasterXML#18)
steinarb
added a commit
to steinarb/jackson-dataformats-binary
that referenced
this issue
Sep 14, 2019
…ckson-dataformat-cbor to fix (FasterXML#18)
steinarb
added a commit
to steinarb/jackson-dataformats-binary
that referenced
this issue
Sep 14, 2019
…ckson-dataformat-smile to fix (FasterXML#18)
steinarb
added a commit
to steinarb/jackson-dataformats-binary
that referenced
this issue
Sep 14, 2019
…ckson-dataformat-avro to fix (FasterXML#18)
steinarb
added a commit
to steinarb/jackson-dataformats-binary
that referenced
this issue
Sep 14, 2019
…ckson-dataformat-protobuf to fix (FasterXML#18)
steinarb
added a commit
to steinarb/jackson-dataformats-binary
that referenced
this issue
Sep 14, 2019
…ckson-dataformat-ion to fix (FasterXML#18)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
(note: same as FasterXML/jackson-core#282)
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.
The text was updated successfully, but these errors were encountered: