package serde
-
serde
Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
val deserialize_any :
'value. 'state ->
(module De__.Intf.Rec.Deserializer_intf with type state = 'state) ->
(module De__.Intf.Rec.Visitor_intf with type value = 'value) ->
('value,
[> `Duplicate_field of string
| `Invalid_field_index of int
| `Invalid_variant_index of int
| `Message of string
| `Missing_field of string
| `Unexpected_exception of exn
| `Unimplemented of string
| `Unknown_field of string
| `Unknown_variant of string ]
Error.de_error)
Stdlib.result
val deserialize_bool :
'value. 'state ->
(module De__.Intf.Rec.Deserializer_intf with type state = 'state) ->
(module De__.Intf.Rec.Visitor_intf with type value = 'value) ->
('value,
[> `Duplicate_field of string
| `Invalid_field_index of int
| `Invalid_variant_index of int
| `Message of string
| `Missing_field of string
| `Unexpected_exception of exn
| `Unimplemented of string
| `Unknown_field of string
| `Unknown_variant of string ]
Error.de_error)
Stdlib.result
val deserialize_char :
'value. 'state ->
(module De__.Intf.Rec.Deserializer_intf with type state = 'state) ->
(module De__.Intf.Rec.Visitor_intf with type value = 'value) ->
('value,
[> `Duplicate_field of string
| `Invalid_field_index of int
| `Invalid_variant_index of int
| `Message of string
| `Missing_field of string
| `Unexpected_exception of exn
| `Unimplemented of string
| `Unknown_field of string
| `Unknown_variant of string ]
Error.de_error)
Stdlib.result
val deserialize_int :
'value. 'state ->
(module De__.Intf.Rec.Deserializer_intf with type state = 'state) ->
(module De__.Intf.Rec.Visitor_intf with type value = 'value) ->
('value,
[> `Duplicate_field of string
| `Invalid_field_index of int
| `Invalid_variant_index of int
| `Message of string
| `Missing_field of string
| `Unexpected_exception of exn
| `Unimplemented of string
| `Unknown_field of string
| `Unknown_variant of string ]
Error.de_error)
Stdlib.result
val deserialize_float :
'value. 'state ->
(module De__.Intf.Rec.Deserializer_intf with type state = 'state) ->
(module De__.Intf.Rec.Visitor_intf with type value = 'value) ->
('value,
[> `Duplicate_field of string
| `Invalid_field_index of int
| `Invalid_variant_index of int
| `Message of string
| `Missing_field of string
| `Unexpected_exception of exn
| `Unimplemented of string
| `Unknown_field of string
| `Unknown_variant of string ]
Error.de_error)
Stdlib.result
val deserialize_string :
'value. 'state ->
(module De__.Intf.Rec.Deserializer_intf with type state = 'state) ->
(module De__.Intf.Rec.Visitor_intf with type value = 'value) ->
('value,
[> `Duplicate_field of string
| `Invalid_field_index of int
| `Invalid_variant_index of int
| `Message of string
| `Missing_field of string
| `Unexpected_exception of exn
| `Unimplemented of string
| `Unknown_field of string
| `Unknown_variant of string ]
Error.de_error)
Stdlib.result
val deserialize_unit :
'value. 'state ->
(module De__.Intf.Rec.Deserializer_intf with type state = 'state) ->
(module De__.Intf.Rec.Visitor_intf with type value = 'value) ->
('value,
[> `Duplicate_field of string
| `Invalid_field_index of int
| `Invalid_variant_index of int
| `Message of string
| `Missing_field of string
| `Unexpected_exception of exn
| `Unimplemented of string
| `Unknown_field of string
| `Unknown_variant of string ]
Error.de_error)
Stdlib.result
val deserialize_tuple :
'value. 'state ->
(module De__.Intf.Rec.Deserializer_intf with type state = 'state) ->
(module De__.Intf.Rec.Visitor_intf with type value = 'value) ->
('value,
[> `Duplicate_field of string
| `Invalid_field_index of int
| `Invalid_variant_index of int
| `Message of string
| `Missing_field of string
| `Unexpected_exception of exn
| `Unimplemented of string
| `Unknown_field of string
| `Unknown_variant of string ]
Error.de_error)
Stdlib.result
val deserialize_variant :
'value 'tag. 'state ->
(module De__.Intf.Rec.Deserializer_intf with type state = 'state) ->
(module De__.Intf.Rec.Visitor_intf
with type tag = 'tag
and type value = 'value) ->
(module De__.Intf.Rec.Visitor_intf with type value = 'tag) ->
name:string ->
variants:string list ->
('value,
[> `Duplicate_field of string
| `Invalid_field_index of int
| `Invalid_variant_index of int
| `Message of string
| `Missing_field of string
| `Unexpected_exception of exn
| `Unimplemented of string
| `Unknown_field of string
| `Unknown_variant of string ]
Error.de_error)
Stdlib.result
val deserialize_unit_variant :
'value. 'state ->
(module De__.Intf.Rec.Deserializer_intf with type state = 'state) ->
(module De__.Intf.Rec.Visitor_intf with type value = 'value) ->
('value,
[> `Duplicate_field of string
| `Invalid_field_index of int
| `Invalid_variant_index of int
| `Message of string
| `Missing_field of string
| `Unexpected_exception of exn
| `Unimplemented of string
| `Unknown_field of string
| `Unknown_variant of string ]
Error.de_error)
Stdlib.result
val deserialize_tuple_variant :
'value. 'state ->
(module De__.Intf.Rec.Deserializer_intf with type state = 'state) ->
(module De__.Intf.Rec.Visitor_intf with type value = 'value) ->
('value,
[> `Duplicate_field of string
| `Invalid_field_index of int
| `Invalid_variant_index of int
| `Message of string
| `Missing_field of string
| `Unexpected_exception of exn
| `Unimplemented of string
| `Unknown_field of string
| `Unknown_variant of string ]
Error.de_error)
Stdlib.result
val deserialize_record_variant :
'value. 'state ->
(module De__.Intf.Rec.Deserializer_intf with type state = 'state) ->
(module De__.Intf.Rec.Visitor_intf with type value = 'value) ->
('value,
[> `Duplicate_field of string
| `Invalid_field_index of int
| `Invalid_variant_index of int
| `Message of string
| `Missing_field of string
| `Unexpected_exception of exn
| `Unimplemented of string
| `Unknown_field of string
| `Unknown_variant of string ]
Error.de_error)
Stdlib.result
val deserialize_record :
'value 'field 'err. 'state ->
(module De__.Intf.Rec.Deserializer_intf with type state = 'state) ->
(module De__.Intf.Rec.Visitor_intf
with type tag = 'field
and type value = 'value) ->
(module De__.Intf.Rec.Visitor_intf with type value = 'field) ->
name:string ->
fields:string list ->
('value,
[> `Duplicate_field of string
| `Invalid_field_index of int
| `Invalid_variant_index of int
| `Message of string
| `Missing_field of string
| `Unexpected_exception of exn
| `Unimplemented of string
| `Unknown_field of string
| `Unknown_variant of string ] as 'a
Error.de_error)
Stdlib.result
val deserialize_seq :
'value. 'state ->
(module De__.Intf.Rec.Deserializer_intf with type state = 'state) ->
(module De__.Intf.Rec.Visitor_intf with type value = 'value) ->
('value,
[> `Duplicate_field of string
| `Invalid_field_index of int
| `Invalid_variant_index of int
| `Message of string
| `Missing_field of string
| `Unexpected_exception of exn
| `Unimplemented of string
| `Unknown_field of string
| `Unknown_variant of string ]
Error.de_error)
Stdlib.result
val deserialize_map :
'value. 'state ->
(module De__.Intf.Rec.Deserializer_intf with type state = 'state) ->
(module De__.Intf.Rec.Visitor_intf with type value = 'value) ->
('value,
[> `Duplicate_field of string
| `Invalid_field_index of int
| `Invalid_variant_index of int
| `Message of string
| `Missing_field of string
| `Unexpected_exception of exn
| `Unimplemented of string
| `Unknown_field of string
| `Unknown_variant of string ]
Error.de_error)
Stdlib.result
val deserialize_identifier :
'value. 'state ->
(module De__.Intf.Rec.Deserializer_intf with type state = 'state) ->
(module De__.Intf.Rec.Visitor_intf with type value = 'value) ->
('value,
[> `Duplicate_field of string
| `Invalid_field_index of int
| `Invalid_variant_index of int
| `Message of string
| `Missing_field of string
| `Unexpected_exception of exn
| `Unimplemented of string
| `Unknown_field of string
| `Unknown_variant of string ]
Error.de_error)
Stdlib.result