package serde

  1. Overview
  2. Docs
val serialize_bool : 'a -> 'b -> 'c -> ('d, 'e ser_error) Stdlib.result
val serialize_unit : 'a -> 'b -> 'c -> ('d, 'e ser_error) Stdlib.result
val serialize_char : 'a -> 'b -> 'c -> ('d, 'e ser_error) Stdlib.result
val serialize_int : 'a -> 'b -> 'c -> ('d, 'e ser_error) Stdlib.result
val serialize_float : 'a -> 'b -> 'c -> ('d, 'e ser_error) Stdlib.result
val serialize_string : 'a -> 'b -> 'c -> ('d, 'e ser_error) Stdlib.result
val serialize_tuple : 'a -> 'b -> size:'c -> elements:'d -> ('e, 'f ser_error) Stdlib.result
val serialize_unit_variant : 'a -> 'b -> type_name:'c -> variant_name:'d -> variant_index:'e -> ('f, 'g ser_error) Stdlib.result
val serialize_tuple_variant : 'a -> 'b -> type_name:'c -> variant_index:'d -> variant_name:'e -> variant_size:'f -> fields:'g -> ('h, 'i ser_error) Stdlib.result
val serialize_record_variant : 'a -> 'b -> type_name:'c -> variant_index:'d -> variant_name:'e -> variant_size:'f -> fields:'g -> ('h, 'i ser_error) Stdlib.result
val serialize_record : 'a -> 'b -> type_name:'c -> record_size:'d -> fields:'e -> ('f, 'g ser_error) Stdlib.result
OCaml

Innovation. Community. Security.