package serde

  1. Overview
  2. Docs
A serialization framework for OCaml

Install

Dune Dependency

Authors

Maintainers

Sources

serde-0.0.1.tbz
sha256=14c12871e403a531994acc99ca9d140ea00ea4f6a794d38f01f606eb33615dbd
sha512=fea87f5067ed2c27b76dcb0ff96c6d39c939f62aecced8cd19790e20af794fbfaa99d727c04461e42ab115c97f39d0fe68f93f016ed2cb1471d8cc0d55b19b10

doc/serde.de/De/Impls/Unit_visitor/index.html

Module Impls.Unit_visitorSource

include module type of struct include Visitor.Unimplemented end
Sourceval visit_bool : bool -> ('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) result
Sourceval visit_char : char -> ('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) result
Sourceval visit_int : int -> ('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) result
Sourceval visit_float : float -> ('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) result
Sourceval visit_string : string -> ('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) result
Sourceval visit_seq : 'value Visitor.t -> 'state' Deserializer.t -> ('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) Sequence_access.t -> ('value, 'a Error.de_error) result
Sourceval visit_variant : ('tag, '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) Variant_access.t -> ('value, 'a Error.de_error) result
Sourceval visit_map : 'state. 'value Visitor.t -> 'state Deserializer.t -> ('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) Map_access.t -> ('value, 'a Error.de_error) result
Sourcetype tag = unit
Sourcetype visitor = unit
Sourcetype value = unit
Sourcetype error = unit
Sourceval visit_unit : unit -> (unit, 'a) result
OCaml

Innovation. Community. Security.