Skip to content

Generic Value w/o allocation #97

@zeenix

Description

@zeenix

In a project of mine (that's not yet public), I really need a generic Value but it's no-std+no-alloc so I can't use serde_json. I was thrilled to find this crate but was disappointed to see that there's no generic Value type.

I understand that serde_json uses alloc in its Value type (extensively) and that's why it's been documented as a non-goal in the README of this project. However I think it can be implemented without alloc as well, using the stack-based container types (for example, using the heapless crate).

Would this be something maintainers are interested in? If so, I'd be willing to try and make it happen.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions