package json-data-encoding

  1. Overview
  2. Docs
Type-safe encoding to and decoding from JSON

Install

dune-project
 Dependency

Authors

Maintainers

Sources

1.1.1.tar.gz
md5=3267ccdc67847cedeeb95f0bd6fe3845
sha512=27c3972f279e45db58d56beb10d28fdc2ed230373d338c2cdd2abe22e73deb9641db101c44384845255a0bd05156612def12ea6ea98d162aee5f5f5bff907022

doc/json-data-encoding/Json_encoding/module-type-S/index.html

Module type Json_encoding.SSource

Sourcetype repr_value
Sourceval construct : ?include_default_fields:[ `Always | `Auto | `Never ] -> 't encoding -> 't -> repr_value

Same as construct for a custom JSON representation.

Sourceval destruct : ?ignore_extra_fields:bool -> ?bson_relaxation:bool -> 't encoding -> repr_value -> 't

Same as destruct for a custom JSON representation.

Sourceval custom : ?is_object:bool -> ('t -> repr_value) -> (repr_value -> 't) -> schema:Json_schema.schema -> 't encoding

Same as custom for a custom JSON representation.