package ppx_deriving_yojson

  1. Overview
  2. Docs
JSON codec generator for OCaml

Install

Dune Dependency

Authors

Maintainers

Sources

ppx_deriving_yojson-v3.6.1.tbz
sha256=712ee9207c70dd144e72cd689bee2d2beb120b804e77c74ec6f7b843a88944e6
sha512=d8c828902b8441f73e08fc03e2173ce81a09cccfe091471fbcffe098b2272739b98a05e8308016da3efeb3d4d1abd7d941bfaac42c85961ea40915ddce526577

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.