package ppx_deriving_yojson

  1. Overview
  2. Docs
JSON codec generator for OCaml

Install

Dune Dependency

Authors

Maintainers

Sources

ppx_deriving_yojson-v3.6.0.tbz
sha256=d6f66c6f76b5caa9b2f91ad61a8d8142f4e0582d9c6f39ea42b56491048358bc
sha512=63749800c57b5d56abe3fb73c2e53204b6a3847addd3b82500738efddabfd80150b6470e901d3c4fcadb1ccac416cf35245b9a8814e6e731e44df0fdf54a07ee

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

val (=) : 'a -> 'a -> bool
module List : module type of List

List operations.

module String : module type of String

String operations.

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
module Result : sig ... end
OCaml

Innovation. Community. Security.