package serde_json

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type kind =
  1. | First
  2. | Rest
type state = {
  1. reader : Json.Parser.t;
  2. mutable kind : kind;
}
val nest : state -> state
val deserialize_int8 : 'a -> state -> (char, 'b) Stdlib.result
val deserialize_int16 : 'a -> state -> (int, 'b) Stdlib.result
val deserialize_int31 : 'a -> state -> (int, 'b) Stdlib.result
val deserialize_int32 : 'a -> state -> (int32, 'b) Stdlib.result
val deserialize_int64 : 'a -> state -> (int64, 'b) Stdlib.result
val deserialize_float : 'a -> state -> (float, 'b) Stdlib.result
val deserialize_bool : 'a -> state -> (bool, 'b) Stdlib.result
val deserialize_string : 'a -> state -> (string, 'b) Stdlib.result
val deserialize_option : 'a -> state -> ('a -> ('b, 'c) Stdlib.result) -> ('b option, 'c) Stdlib.result
val deserialize_identifier : 'a Serde.De.ctx -> 'b -> ('c, 'a, 'd) Serde.Visitor.t -> ('c, Serde.error) Stdlib.result
val deserialize_sequence : 'a -> state -> size:'b -> (size:'b -> 'a -> ('c, 'd) Stdlib.result) -> ('c, 'd) Stdlib.result
val deserialize_element : 'a -> state -> ('a -> ('b, 'c) Stdlib.result) -> ('b option, 'c) Stdlib.result
val deserialize_unit_variant : 'a -> 'b -> (unit, 'c) Stdlib.result
val deserialize_newtype_variant : 'a -> state -> ('a -> ('b, 'c) Stdlib.result) -> ('b, 'c) Stdlib.result
val deserialize_tuple_variant : 'a Serde.De.ctx -> state -> size:int -> (size:int -> ('b, 'a) Serde.De_base.t) -> ('b, Serde.error) Stdlib.result
val deserialize_record_variant : 'a Serde.De.ctx -> state -> size:int -> (size:int -> ('b, 'a) Serde.De_base.t) -> ('b, Serde.error) Stdlib.result
val deserialize_variant : 'a -> state -> ('a -> ('b, 'c) Stdlib.result) -> name:'d -> variants:'e -> ('b, 'c) Stdlib.result
val deserialize_record : 'a -> state -> name:'b -> size:'c -> ('a -> ('d, 'e) Stdlib.result) -> ('d, 'e) Stdlib.result
val deserialize_key : 'a Serde.De.ctx -> state -> ('b, 'a, 'c) Serde.Visitor.t -> ('b option, Serde.error) Stdlib.result
val deserialize_field : 'a -> state -> name:'b -> ('a -> 'c) -> 'c
val deserialize_ignored_any : 'a -> state -> (unit, 'b) Stdlib.result
OCaml

Innovation. Community. Security.