Skip to content

Selective JSON deserialization #6752

@robertbastian

Description

@robertbastian

I think it's time to relegate JSON serialization to what it really is: useful for inspecting data during debugging. However, the more readable we make the JSON, the harder it gets to parse. We already have a serde_human feature in some crate to have a more readable human representation, but I don't think that feature is worth its weight (it pulls in dependencies).

I'm currently splitting a ZeroMap into a ZeroTrie and a list, which makes the JSON completely unreadable. If we didn't have to deserialize it, I could serialize it in a nicer way, all behind the datagen feature.

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-data-infraComponent: provider, datagen, fallback, adaptersdiscussDiscuss at a future ICU4X-SC meeting

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions