package ppx_deriving_yojson

  1. Overview
  2. Docs
JSON codec generator for OCaml

Install

Dune Dependency

Authors

Maintainers

Sources

v3.5.3.tar.gz
md5=e5185e4ac9d149a332566139df55d408
sha512=550fe8c400fa57f3f33f4cec509df061db0d62353e0d05ffb64e02aaef74324369840297507553d9b8a8cba81f980c210d23177bf184dbe58b952a7df4aa2176

doc/ppx_deriving_yojson.runtime/Ppx_deriving_yojson_runtime/index.html

Module Ppx_deriving_yojson_runtime

type 'a error_or = ('a, string) Result.result
val (>>=) : 'a error_or -> ('a -> 'b error_or) -> 'b error_or
val (>|=) : 'a error_or -> ('a -> 'b) -> 'b error_or
val map_bind : ('a -> 'b error_or) -> 'b list -> 'a list -> 'b list error_or
val safe_map : ('a -> 'b) -> 'a list -> 'b list

safe_map f l returns the same value as List.map f l, but computes it tail-recursively so that large list lengths don't cause a stack overflow

module List : module type of List

List operations.

module String : module type of String

Strings.

module Bytes : module type of Bytes

Byte sequence operations.

module Int32 : module type of Int32

32-bit integers.

module Int64 : module type of Int64

64-bit integers.

module Nativeint : module type of Nativeint

Processor-native integers.

module Array : module type of Array

Array operations.

module Result : sig ... end
OCaml

Innovation. Community. Security.