package ppx_deriving_yojson

  1. Overview
  2. Docs
JSON codec generator for OCaml

Install

Dune Dependency

Authors

Maintainers

Sources

ppx_deriving_yojson-3.10.0.tbz
sha256=ced3d265e4287f1f18b09df6446a24444fad52b2a3054cbcbe0c9494d0e89b3f
sha512=038752a73690dc1b55031c119f57ee27fbee0d51a4a541d2f31ad1baf8b05637396c0b97a7dbfd77db600b689e90a62bfff7ca3fcf74545bd5b32dc3dabff511

doc/ppx_deriving_yojson.runtime/Ppx_deriving_yojson_runtime/index.html

Module Ppx_deriving_yojson_runtimeSource

Sourcetype 'a error_or = ('a, string) result
Sourceval (>>=) : 'a error_or -> ('a -> 'b error_or) -> 'b error_or
Sourceval (>|=) : 'a error_or -> ('a -> 'b) -> 'b error_or
Sourceval map_bind : ('a -> 'b error_or) -> 'b list -> 'a list -> 'b list error_or
Sourceval 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

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

List operations.

Sourcemodule String : module type of String

Strings.

Sourcemodule Bytes : module type of Bytes

Byte sequence operations.

Sourcemodule Int32 : module type of Int32

32-bit integers.

Sourcemodule Int64 : module type of Int64

64-bit integers.

Sourcemodule Nativeint : module type of Nativeint

Processor-native integers.

Sourcemodule Array : module type of Array

Array operations.

Sourcemodule Result : sig ... end
OCaml

Innovation. Community. Security.