Skip to content

Add strategy for Sum types without a boxing value tag #21

@i-am-the-slime

Description

@i-am-the-slime

Something like:

data Foo = A { x :: Int } | B { whatever :: String } 
-- serialises as { "type": "A", "x": 4 }

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