package serde_json

  1. Overview
  2. Docs
JSON format support for Serde

Install

Dune Dependency

Authors

Maintainers

Sources

serde-0.0.2.tbz
sha256=0766b13f1e9421f98fab8efc5d43657229f3b3bc13ca4722086da634fe076ca4
sha512=1023dcd53c4b69032f466b338e2f0146ee3443b2ec4ce8db2d1f226e1409d81a3da3767ac73e9e047fd61b904a829ff841c26317c8ea050351ba6f70ab4158c4

CHANGES.md.html

0.0.2

Complete rewrite of the Serde library with a heavy focus on usability and maintainability.

  • Support writing manual serializers and deserializers with an ergonomic API.

  • Introduce a new CPS-style de/serialization mechanism.

  • Configurable de/serializers including options to:

    • rename all fields on records – thanks to @tjdevries :sparkles:

    • ignore unknown fields – thanks to @tjdevries :clap:

    • rename specific fields – thanks to @tjdevries :zap:

    • adjacently tagged variants – thanks to @sabine

    • out of order fields

  • Better derivation support now including:

    • records

    • variants (unit, newtype, tuple, and record variants)

    • lists and options

    • floats – thanks to @wesleimp :clap:

  • Support nix flakes for development and installation – thanks to @metame :sparkles:

0.0.1

Introduce the library with a few standard serde formats:

  • debug

  • json

  • sexpr

  • xml

OCaml

Innovation. Community. Security.