package ppx_deriving_yojson

  1. Overview
  2. Docs
JSON codec generator for OCaml

Install

Dune Dependency

Authors

Maintainers

Sources

ppx_deriving_yojson-3.7.0.tar.gz
md5=456be82acb16bbf6be12ab01f9dfaa94
sha512=6aa8b3a6e60afd1ce68995bad6776c975b3640303b2049233e661c46300abea1f48916d4e876412de49f35744f31b99c29736e2bb974e1b4a494b0932bbd6e80

doc/ppx_deriving_yojson.runtime/Ppx_deriving_yojson_runtime/index.html

Module Ppx_deriving_yojson_runtimeSource

Sourcetype 'a error_or = ('a, string) Result.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.