Skip to content

Values blow the stack on drop when deeply nested #440

@brson

Description

@brson

It seems like Value has the default recursive Drop implementation, and if it gets too deep then Drop hits the end of the stack.

I recently had to write a wrapper type that took apart a serde_json::Value to avoid it recursing. Seems like this could be something serde_json might do on its own.

Didn't see an existing issue on this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions