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) result
val deserialize_int16 : 'a -> state -> (int, 'b) result
val deserialize_int31 : 'a -> state -> (int, 'b) result
val deserialize_int32 : 'a -> state -> (int32, 'b) result
val deserialize_int64 : 'a -> state -> (int64, 'b) result
val deserialize_float : 'a -> state -> (float, 'b) result
val deserialize_bool : 'a -> state -> (bool, 'b) result
val deserialize_string : 'a -> state -> (string, 'b) result
val deserialize_option : 'a -> state -> ('a -> ('b, 'c) result) -> ('b option, 'c) result
val deserialize_identifier : 'a Serde.De.ctx -> 'b -> ('c, 'a, 'd) Serde.Visitor.t -> ('c, Serde.error) result
val deserialize_sequence : 'a -> state -> size:'b -> (size:'b -> 'a -> ('c, 'd) result) -> ('c, 'd) result
val deserialize_element : 'a -> state -> ('a -> ('b, 'c) result) -> ('b option, 'c) result
val deserialize_unit_variant : 'a -> 'b -> (unit, 'c) result
val deserialize_newtype_variant : 'a -> state -> ('a -> ('b, 'c) result) -> ('b, 'c) result
val deserialize_tuple_variant : 'a Serde.De.ctx -> state -> size:int -> (size:int -> ('b, 'a) Serde.De_base.t) -> ('b, Serde.error) result
val deserialize_record_variant : 'a Serde.De.ctx -> state -> size:int -> (size:int -> ('b, 'a) Serde.De_base.t) -> ('b, Serde.error) result
val deserialize_variant : 'a -> state -> ('a -> ('b, 'c) result) -> name:'d -> variants:'e -> ('b, 'c) result
val deserialize_record : 'a -> state -> name:'b -> size:'c -> ('a -> ('d, 'e) result) -> ('d, 'e) result
val deserialize_key : 'a Serde.De.ctx -> state -> ('b, 'a, 'c) Serde.Visitor.t -> ('b option, Serde.error) result
val deserialize_field : 'a -> state -> name:'b -> ('a -> 'c) -> 'c
val deserialize_ignored_any : 'a -> state -> (unit, 'b) result
OCaml

Innovation. Community. Security.