Skip to content

RFC: Serialization Protocol for Dart #1

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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