package reddit_api_kernel

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module Json_object.UtilsSource

include S_with_fields with type t = Json.t Core_kernel.String.Map.t
include Json_object_intf.S with type t = Json.t Core_kernel.String.Map.t
Sourcetype t = Json.t Core_kernel.String.Map.t
Sourceval of_json : Json.t -> t
Sourceval to_json : t -> Json.t
Sourceval get_field : t -> string -> Json.t option
Sourceval get_field_exn : t -> string -> Json.t
Sourceval field_map : t -> Json.t Core_kernel.String.Map.t
include Core_kernel.Sexpable.S with type t := t
Sourceval t_of_sexp : Sexplib0.Sexp.t -> t
Sourceval sexp_of_t : t -> Sexplib0.Sexp.t
Sourceval optional_field : string -> (Json.t -> 'a) -> t -> 'a option
Sourceval required_field : string -> (Json.t -> 'a) -> t -> 'a
Sourceval (>>) : ('a -> 'b) -> ('b -> 'c) -> 'a -> 'c
Sourceval or_null : (Json.t -> 'a) -> Json.t -> 'a option
Sourceval int : Json.value -> int
Sourceval float : Json.value -> float
Sourceval bool : Json.value -> bool
Sourceval string : Json.value -> string
Sourceval username : Json.value -> Username.t
Sourceval subreddit_name : Json.value -> Subreddit_name.t
Sourceval time : Json.value -> Core_kernel.Time_ns.t
Sourceval uri : Json.value -> Uri.t
OCaml

Innovation. Community. Security.