package ppx_deriving_yojson

  1. Overview
  2. Docs
module Ast_builder_default_loc : sig ... end
val disable_warning_39 : unit -> Astlib.Ast_412.Parsetree.attribute
val mod_mknoloc : 'a -> 'b option Ppxlib.loc
val deriver : string
val raise_errorf : ?sub:Ocaml_common.Location.error list -> ?loc:Ppxlib.Location.t -> ('a, unit, string, 'b) format4 -> 'a
val argn : int -> string
val attr_int_encoding : Ppxlib.attributes -> [> `Int | `String ]
val attr_string : string -> string -> Ppxlib.attributes -> string
val attr_key : string -> Ppxlib.attributes -> string
val attr_name : string -> Ppxlib.attributes -> string
val attr_ser : Ppxlib.attributes -> Ppxlib.expression option
val attr_desu : Ppxlib.attributes -> Ppxlib.expression option
val attr_default : Ppxlib.attributes -> Ppxlib.expression option
type options = {
  1. is_strict : bool;
  2. want_meta : bool;
  3. want_exn : bool;
}
val parse_options : (string * Ppxlib.expression) list -> options
val type_add_attrs : Ppxlib.core_type -> Ppxlib.attribute list -> Ppxlib.core_type
val ser_expr_of_typ : Ppxlib.core_type -> Ppxlib.expression
val ser_expr_of_only_typ : Ppxlib.core_type -> Ppxlib.expression
val desu_fold : loc:Ppxlib.location -> path:string list -> (Ppxlib.expression list -> Ppxlib.expression) -> Ppxlib.core_type list -> Ppxlib.expression
val desu_expr_of_typ : path:string list -> Ppxlib.core_type -> Ppxlib.expression
val desu_expr_of_only_typ : path:string list -> Ppxlib.core_type -> Ppxlib.expression
val wrap_runtime : Ppxlib.expression -> Ppxlib.expression
val ser_type_of_decl : options:(string * Ppxlib.expression) list -> path:'a -> Ppxlib.type_declaration -> Ppxlib.core_type
val ser_str_of_record : loc:Ppxlib.location -> string -> Ppxlib.label_declaration list -> Ppxlib.expression
val ser_str_of_type_ext : options:(string * Ppxlib.expression) list -> path:'a -> Ppxlib.type_extension -> Astlib.Ast_412.Parsetree.structure_item list
val desu_type_of_decl_poly : options:(string * Ppxlib.expression) list -> path:'a -> Ppxlib.type_declaration -> Ppxlib.core_type -> Ppxlib.core_type
val desu_type_of_decl : options:(string * Ppxlib.expression) list -> path:'a -> Ppxlib.type_declaration -> Ppxlib.core_type
val desu_str_of_record : loc:Ppxlib.location -> is_strict:bool -> error:(string list -> Ppxlib.expression) -> path:string list -> (Astlib.Ast_412.Parsetree.expression -> Ppxlib.expression) -> Ppxlib.label_declaration list -> Ppxlib.expression
val desu_str_of_type_ext : options:(string * Ppxlib.expression) list -> path:string list -> Ppxlib.type_extension -> Astlib.Ast_412.Parsetree.structure_item list
val ser_sig_of_type : options:(string * Ppxlib.expression) list -> path:'a -> Ppxlib.type_declaration -> Astlib.Ast_412.Parsetree.signature_item list
val ser_sig_of_type_ext : options:'a -> path:'b -> 'c -> 'd list
val desu_sig_of_type : options:(string * Ppxlib.expression) list -> path:'a -> Ppxlib.type_declaration -> Astlib.Ast_412.Parsetree.signature_item list
val desu_sig_of_type_ext : options:'a -> path:'b -> 'c -> 'd list
val yojson_str_fields : options:(string * Ppxlib.expression) list -> path:'a -> Ppxlib.type_declaration -> Astlib.Ast_412.Parsetree.structure_item list
val yojson_sig_fields : options:(string * Ppxlib.expression) list -> path:'a -> Ppxlib.type_declaration -> Astlib.Ast_412.Parsetree.signature_item list
val str_of_type_ext : options:(string * Ppxlib.expression) list -> path:string list -> Ppxlib.type_extension -> Astlib.Ast_412.Parsetree.structure_item list
val sig_of_type : options:(string * Ppxlib.expression) list -> path:'a -> Ppxlib.type_declaration -> Astlib.Ast_412.Parsetree.signature_item list
val sig_of_type_to_yojson : options:(string * Ppxlib.expression) list -> path:'a -> Ppxlib.type_declaration -> Astlib.Ast_412.Parsetree.signature_item list
val sig_of_type_of_yojson : options:(string * Ppxlib.expression) list -> path:'a -> Ppxlib.type_declaration -> Astlib.Ast_412.Parsetree.signature_item list
val sig_of_type_ext : options:'a -> path:'b -> 'c -> 'd list
val structure : (options:'a -> path:'b -> 'c -> Astlib.Ast_412.Parsetree.structure_item list * Astlib.Ast_412.Parsetree.value_binding list * Astlib.Ast_412.Parsetree.structure_item list) -> options:'d -> path:'e -> 'f -> Astlib.Ast_412.Parsetree.structure_item list
val on_str_decls : (options:'a -> path:'b -> 'c -> 'd list * 'e list * 'f list) -> options:'g -> path:'h -> 'c list -> 'd list * 'e list * 'f list
val on_sig_decls : (options:'a -> path:'b -> 'c -> 'd list) -> options:'e -> path:'f -> 'c list -> 'd list
OCaml

Innovation. Community. Security.