Skip to content

Adopt external tagging to serialized union values #266

@kanghyojun

Description

@kanghyojun

serde which is Rust's serialization/deserialization library give a option to represent enum. A deserializer doesn't need to read a whole JSON to know which tag is to deserialize if Nirum has a similar feature for Union type.

Metadata

Metadata

Assignees

No one assigned

    Labels

    cat:langCategory: Language designcmp:compilerComponent: Compiler backend (e.g., annotation processors, code generators)dfct:easyDifficulty: Easy

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions