Skip to content

serde_json's arbitrary-precision feature breaks untagged enum deserialization #3

@Michael-J-Ward

Description

@Michael-J-Ward

I recently incorporated tracing-bunyan-formatter into a project, and found it triggered a regression error in deserializing an untagged enum with serde_json.

tracing-bunyan-formatter enables the arbitrary-precision field on serde-json, which causes the bug, as explained here: serde-rs/json#559

For what it's worth, I pulled down this crate and, and the same test fails with and without the feature (parent_properties_are_propagated).

EDIT:

Also, let me know if it's inappropriate for me to to notify you of a bug in another crate. I figured since it affects your users, you'd want to know.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions