package ppx_deriving_yojson

  1. Overview
  2. Docs
JSON codec generator for OCaml

Install

Dune Dependency

Authors

Maintainers

Sources

ppx_deriving_yojson-3.9.1.tbz
sha256=6a3ef7c7bb381f57448853f2a6d2287cf623628162a979587d1e8f7502114f4d
sha512=df919be7c023cb9ff1b832de333f8d158e88746b4cc33ea5dcf511c64aba186628015b6ca29a0310642531e0640d79834d64b99d542a624168154a11736489a0

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.