package serde_json
Module Serde_json.SerializerSource
Source
val serialize_some :
('a, 'b, 'c) Serde.Ser.ctx ->
'd ->
(('a, 'b, 'c) Serde.Ser.ctx -> ('c, Serde.error) result) ->
('c, Serde.error) resultSource
val serialize_sequence :
('a, 'b, unit) Serde.Ser.ctx ->
state ->
size:int ->
(('a, 'b, unit) Serde.Ser.ctx -> (unit, Serde.error) result) ->
(unit, Serde.error) resultSource
val serialize_element :
('a, 'b, 'c) Serde.Ser.ctx ->
state ->
(('a, 'b, 'c) Serde.Ser.ctx -> ('c, Serde.error) result) ->
('c, Serde.error) resultSource
val serialize_unit_variant :
'a ->
state ->
var_type:'b ->
cstr_idx:'c ->
cstr_name:string ->
(unit, [> Rio.io_error ]) Rio.io_resultSource
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) result) ->
(unit, Serde.error) resultSource
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) result) ->
(unit, Serde.error) resultSource
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) result) ->
(unit, Serde.error) resultSource
val serialize_record :
('a, 'b, unit) Serde.Ser.ctx ->
state ->
rec_type:'c ->
size:'d ->
(('a, 'b, unit) Serde.Ser.ctx -> (unit, Serde.error) result) ->
(unit, Serde.error) resultSource
val serialize_field :
('a, 'b, unit) Serde.Ser.ctx ->
state ->
name:string ->
(('a, 'b, unit) Serde.Ser.ctx -> (unit, Serde.error) result) ->
(unit, Serde.error) result