Skip to content

Deserialize Value into T: Deserialize #33

@tqwewe

Description

@tqwewe

If I have a Value, how can I convert this to a type which implements serde::Deserialize?

Libraries like serde_json have to_value and from_value functions for this, but I don't see a way to do this currently with cbor4ii.

How should I do this? Am I required to serialize the value to a Vec<u8> and deserialize again?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions