Skip to content

RFC: Serialization Protocol for Dart #1

@schultek

Description

@schultek

This is the main discussion issue for the proposal.

Link to RFC: Serialization Protocol for Dart


TLDR:

This RFC proposes a new serialization protocol for Dart, aiming to be modular, universally usable across different data formats, and highly performant. Key points include:

  • Separation of encoding/decoding logic from data formats.
  • Support for various data formats (e.g., JSON, CSV, MessagePack) through extension methods.
  • Handling of nested objects, collections, custom types, binary formats and more.
  • Extended protocol for polymorphism and generic type handling.
  • Performance improvements over current methods (+ Benchmark).

The proposal aims to standardize and improve serialization in the Dart ecosystem, making it more efficient and flexible.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions