package serde_json

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type output = unit
type kind =
  1. | First
  2. | Rest
type state =
  1. | S : {
    1. fmt : 'w Rio.Writer.t;
    2. mutable kind : kind;
    } -> state
val nest : state -> state
val serialize_bool : 'a -> state -> bool -> (unit, [> Rio.io_error ]) Rio.io_result
val serialize_string : 'a -> state -> string -> (unit, [> Rio.io_error ]) Rio.io_result
val serialize_int8 : 'a -> state -> char -> (unit, [> Rio.io_error ]) Rio.io_result
val serialize_int16 : 'a -> state -> int -> (unit, [> Rio.io_error ]) Rio.io_result
val serialize_int31 : 'a -> state -> int -> (unit, [> Rio.io_error ]) Rio.io_result
val serialize_int32 : 'a -> state -> int32 -> (unit, [> Rio.io_error ]) Rio.io_result
val serialize_int64 : 'a -> state -> int64 -> (unit, [> Rio.io_error ]) Rio.io_result
val serialize_float : 'a -> state -> float -> (unit, [> Rio.io_error ]) Rio.io_result
val serialize_none : 'a -> state -> (unit, [> Rio.io_error ]) Stdlib.result
val serialize_some : ('a, 'b, 'c) Serde.Ser.ctx -> 'd -> (('a, 'b, 'c) Serde.Ser.ctx -> ('c, Serde.error) Stdlib.result) -> ('c, Serde.error) Stdlib.result
val serialize_sequence : ('a, 'b, unit) Serde.Ser.ctx -> state -> size:int -> (('a, 'b, unit) Serde.Ser.ctx -> (unit, Serde.error) Stdlib.result) -> (unit, Serde.error) Stdlib.result
val serialize_element : ('a, 'b, 'c) Serde.Ser.ctx -> state -> (('a, 'b, 'c) Serde.Ser.ctx -> ('c, Serde.error) Stdlib.result) -> ('c, Serde.error) Stdlib.result
val serialize_unit_variant : 'a -> state -> var_type:'b -> cstr_idx:'c -> cstr_name:string -> (unit, [> Rio.io_error ]) Rio.io_result
val serialize_tuple_variant : ('a, 'b, unit) Serde.Ser.ctx -> state -> var_type:'c -> cstr_idx:'d -> cstr_name:string -> size:int -> (('a, 'b, unit) Serde.Ser_base.ctx -> (unit, Serde.error) Stdlib.result) -> (unit, Serde.error) Stdlib.result
val serialize_record_variant : ('a, 'b, unit) Serde.Ser.ctx -> state -> var_type:'c -> cstr_idx:'d -> cstr_name:string -> size:int -> (('a, 'b, unit) Serde.Ser_base.ctx -> (unit, Serde.error) Stdlib.result) -> (unit, Serde.error) Stdlib.result
val serialize_newtype_variant : ('a, 'b, unit) Serde.Ser.ctx -> state -> var_type:'c -> cstr_idx:'d -> cstr_name:string -> (('a, 'b, unit) Serde.Ser.ctx -> (unit, Serde.error) Stdlib.result) -> (unit, Serde.error) Stdlib.result
val serialize_record : ('a, 'b, unit) Serde.Ser.ctx -> state -> rec_type:'c -> size:'d -> (('a, 'b, unit) Serde.Ser.ctx -> (unit, Serde.error) Stdlib.result) -> (unit, Serde.error) Stdlib.result
val serialize_field : ('a, 'b, unit) Serde.Ser.ctx -> state -> name:string -> (('a, 'b, unit) Serde.Ser.ctx -> (unit, Serde.error) Stdlib.result) -> (unit, Serde.error) Stdlib.result
OCaml

Innovation. Community. Security.