package gendarme-yaml

  1. Overview
  2. Docs
Libraries to marshal OCaml data structures (YAML)

Install

dune-project
 Dependency

Authors

Maintainers

Sources

0.4.tar.gz
md5=f27a1e134232f9d1221c7381d74cb4b0
sha512=e862c8d1e3eaddec83a1803be4dff7929e7c7da3a7f8531d91e5399f26ca47500503a5d3752fef533695c3e982bfa449748ec4e89401c5c2217bfc24f7c4738a

doc/gendarme-yaml/Gendarme_yaml/index.html

Module Gendarme_yamlSource

This module provides a YAML encoder for the Gendarme library

include Gendarme.S with type t = Yaml.value
include Gendarme.M with type t = Yaml.value

The internal encoder type

Sourceval unpack : Gendarme.target -> t

Unpack an internal value

Sourceval pack : t -> Gendarme.target

Pack an internal value

Sourceval marshal : ?v:'a -> 'a Gendarme.ty -> t

Marshal a value

Sourceval unmarshal : ?v:t -> 'a Gendarme.ty -> 'a

Unmarshal a value

Sourceval marshal_safe : ?v:'a -> 'a Gendarme.ty -> t

Marshal a value in an way safe for the encoder

Sourceval unmarshal_safe : ?v:t -> 'a Gendarme.ty -> 'a

Unmarshal a value in a way safe for the encoder

The encoder type representation

Sourceval encode : ?v:'a -> 'a Gendarme.ty -> string

Encode a value into a string representation

Sourceval decode : ?v:string -> 'a Gendarme.ty -> 'a

Decode a value from its string representation

Sourcemodule Prelude : sig ... end