package ocplib-json-typed-browser

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

Pre-instanciated Json_encoding.Make.

val construct : 't Json_encoding.encoding -> 't -> Repr.value
val destruct : 't Json_encoding.encoding -> Repr.value -> 't
val custom : ('t -> Repr.value) -> (Repr.value -> 't) -> schema:Json_schema.schema -> 't Json_encoding.encoding