package ppx_deriving_yojson

  1. Overview
  2. Docs
JSON codec generator for OCaml

Install

Dune Dependency

Authors

Maintainers

Sources

ppx_deriving_yojson-3.8.0.tbz
sha256=fdcbc548be418f061828664a1012ccba6cfba6a35578ea9cbf75fed498e0c2a1
sha512=2ce0aed3b1e7b444d368a4f7142da07aff328effcc017435ccd9d45cb518659c69a48b6c8699c800bdee02d65fcea9227f863b2340f7a4c1a5b579b8c5ba2a19

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.