Skip to content

[Feature request] Optional text serialization (JSON, YAML, whatever) #110

@BreyerW

Description

@BreyerW

Do you have any plans for introduction optional serializing to text, human readable format? In theory i could just integrate existing solution with Migrant but this potentially break feature compatibility (version tolerance, session persistence (?), delegate not serialized, etc.)

Use case: I have at least one situation when this is helpful: versioning in editor app.Plain (without extesions) github and other versioning solution very often dont like binary format so editors offer serializing to text or to binary. Real world example: Unity3d.

Side note: did you hear about Capn Proto, Flat buffer? they are relatively new approach in serializing, removing encoding steps, offer zero allocation, zero copy, insane speed. I m stick with migrant because they are limited to struct (what i actually think is a bit too strict for my project) for zero allocation and partially .Net version have slow development. Maybe you could develop your own solution with migrant as option or contribute to existing solution (capn proto C# version is developed by marc gravell) if u find this approach as useful.

Thanks in advance for reading my request

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