Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
include module type of struct include Yojson.Safe end
val pp : Stdlib.Format.formatter -> t -> unit
val show : t -> string
val to_basic : t -> Yojson__.Basic.t
val to_channel :
?buf:Stdlib.Buffer.t ->
?len:int ->
?suf:string ->
?std:bool ->
Stdlib.out_channel ->
t ->
unit
val to_output :
?buf:Stdlib.Buffer.t ->
?len:int ->
?suf:string ->
?std:bool ->
< output : string -> int -> int -> int.. > ->
t ->
unit
val to_file : ?len:int -> ?std:bool -> ?suf:string -> string -> t -> unit
val to_buffer : ?suf:string -> ?std:bool -> Stdlib.Buffer.t -> t -> unit
val seq_to_string :
?buf:Stdlib.Buffer.t ->
?len:int ->
?suf:string ->
?std:bool ->
t Stdlib.Seq.t ->
string
val seq_to_channel :
?buf:Stdlib.Buffer.t ->
?len:int ->
?suf:string ->
?std:bool ->
Stdlib.out_channel ->
t Stdlib.Seq.t ->
unit
val seq_to_file :
?len:int ->
?suf:string ->
?std:bool ->
string ->
t Stdlib.Seq.t ->
unit
val seq_to_buffer :
?suf:string ->
?std:bool ->
Stdlib.Buffer.t ->
t Stdlib.Seq.t ->
unit
val write_t : Stdlib.Buffer.t -> t -> unit
val write_assoc : Stdlib.Buffer.t -> (string * t) list -> unit
val write_list : Stdlib.Buffer.t -> t list -> unit
val write_tuple : Stdlib.Buffer.t -> t list -> unit
val write_std_tuple : Stdlib.Buffer.t -> t list -> unit
val write_variant : Stdlib.Buffer.t -> string -> t option -> unit
val write_std_variant : Stdlib.Buffer.t -> string -> t option -> unit
val write_json : Stdlib.Buffer.t -> t -> unit
val write_std_json : Stdlib.Buffer.t -> t -> unit
val pretty_print : ?std:bool -> Stdlib.Format.formatter -> t -> unit
val pretty_to_string : ?std:bool -> t -> string
val pretty_to_channel : ?std:bool -> Stdlib.out_channel -> t -> unit
val from_string :
?buf:Stdlib.Buffer.t ->
?fname:string ->
?lnum:int ->
string ->
t
val from_channel :
?buf:Stdlib.Buffer.t ->
?fname:string ->
?lnum:int ->
Stdlib.in_channel ->
t
val from_file :
?buf:Stdlib.Buffer.t ->
?fname:string ->
?lnum:int ->
string ->
t
val init_lexer :
?buf:Stdlib.Buffer.t ->
?fname:string ->
?lnum:int ->
unit ->
lexer_state
val from_lexbuf : lexer_state -> ?stream:bool -> Stdlib.Lexing.lexbuf -> t
val seq_from_string :
?buf:Stdlib.Buffer.t ->
?fname:string ->
?lnum:int ->
string ->
t Stdlib.Seq.t
val seq_from_channel :
?buf:Stdlib.Buffer.t ->
?fin:(unit -> unit) ->
?fname:string ->
?lnum:int ->
Stdlib.in_channel ->
t Stdlib.Seq.t
val seq_from_file :
?buf:Stdlib.Buffer.t ->
?fname:string ->
?lnum:int ->
string ->
t Stdlib.Seq.t
val seq_from_lexbuf :
lexer_state ->
?fin:(unit -> unit) ->
Stdlib.Lexing.lexbuf ->
t Stdlib.Seq.t
val lineseq_from_channel :
?buf:Stdlib.Buffer.t ->
?fin:(unit -> unit) ->
?fname:string ->
?lnum:int ->
Stdlib.in_channel ->
json_line Stdlib.Seq.t
val lineseq_from_file :
?buf:Stdlib.Buffer.t ->
?fname:string ->
?lnum:int ->
string ->
json_line Stdlib.Seq.t
val read_t : lexer_state -> Stdlib.Lexing.lexbuf -> t
val finish_string : lexer_state -> Stdlib.Lexing.lexbuf -> string
val read_string : lexer_state -> Stdlib.Lexing.lexbuf -> string
val read_ident : lexer_state -> Stdlib.Lexing.lexbuf -> string
val map_string :
lexer_state ->
(string -> int -> int -> 'a) ->
Stdlib.Lexing.lexbuf ->
'a
val map_ident :
lexer_state ->
(string -> int -> int -> 'a) ->
Stdlib.Lexing.lexbuf ->
'a
val start_any_variant : lexer_state -> Stdlib.Lexing.lexbuf -> variant_kind
val finish_variant : lexer_state -> Stdlib.Lexing.lexbuf -> t option
val finish_skip_variant : lexer_state -> Stdlib.Lexing.lexbuf -> unit
val read_lt : lexer_state -> Stdlib.Lexing.lexbuf -> unit
val read_gt : lexer_state -> Stdlib.Lexing.lexbuf -> unit
val read_comma : lexer_state -> Stdlib.Lexing.lexbuf -> unit
val finish_stringlit : lexer_state -> Stdlib.Lexing.lexbuf -> string
val finish_skip_stringlit : lexer_state -> Stdlib.Lexing.lexbuf -> unit
val finish_escaped_char : lexer_state -> Stdlib.Lexing.lexbuf -> unit
val finish_comment : lexer_state -> Stdlib.Lexing.lexbuf -> unit
val read_space : lexer_state -> Stdlib.Lexing.lexbuf -> unit
val read_null : lexer_state -> Stdlib.Lexing.lexbuf -> unit
val read_null_if_possible : lexer_state -> Stdlib.Lexing.lexbuf -> bool
val read_bool : lexer_state -> Stdlib.Lexing.lexbuf -> bool
val read_int : lexer_state -> Stdlib.Lexing.lexbuf -> int
val read_int8 : lexer_state -> Stdlib.Lexing.lexbuf -> char
val read_int32 : lexer_state -> Stdlib.Lexing.lexbuf -> int32
val read_int64 : lexer_state -> Stdlib.Lexing.lexbuf -> int64
val read_number : lexer_state -> Stdlib.Lexing.lexbuf -> float
val skip_ident : lexer_state -> Stdlib.Lexing.lexbuf -> unit
val read_sequence :
('a -> lexer_state -> Stdlib.Lexing.lexbuf -> 'a) ->
'a ->
lexer_state ->
Stdlib.Lexing.lexbuf ->
'a
val read_list :
(lexer_state -> Stdlib.Lexing.lexbuf -> 'a) ->
lexer_state ->
Stdlib.Lexing.lexbuf ->
'a list
val read_list_rev :
(lexer_state -> Stdlib.Lexing.lexbuf -> 'a) ->
lexer_state ->
Stdlib.Lexing.lexbuf ->
'a list
val read_array_sep : lexer_state -> Stdlib.Lexing.lexbuf -> unit
val read_array :
(lexer_state -> Stdlib.Lexing.lexbuf -> 'a) ->
lexer_state ->
Stdlib.Lexing.lexbuf ->
'a array
val read_tuple :
(int -> 'a -> lexer_state -> Stdlib.Lexing.lexbuf -> 'a) ->
'a ->
lexer_state ->
Stdlib.Lexing.lexbuf ->
'a
val start_any_tuple : lexer_state -> Stdlib.Lexing.lexbuf -> bool
val read_lpar : lexer_state -> Stdlib.Lexing.lexbuf -> unit
val read_rpar : lexer_state -> Stdlib.Lexing.lexbuf -> unit
val read_tuple_end2 : lexer_state -> bool -> Stdlib.Lexing.lexbuf -> unit
val read_tuple_sep : lexer_state -> Stdlib.Lexing.lexbuf -> unit
val read_tuple_sep2 : lexer_state -> bool -> Stdlib.Lexing.lexbuf -> unit
val read_lbr : lexer_state -> Stdlib.Lexing.lexbuf -> unit
val read_rbr : lexer_state -> Stdlib.Lexing.lexbuf -> unit
val read_fields :
('acc -> string -> lexer_state -> Stdlib.Lexing.lexbuf -> 'acc) ->
'acc ->
lexer_state ->
Stdlib.Lexing.lexbuf ->
'acc
val read_abstract_fields :
(lexer_state -> Stdlib.Lexing.lexbuf -> 'key) ->
('acc -> 'key -> lexer_state -> Stdlib.Lexing.lexbuf -> 'acc) ->
'acc ->
lexer_state ->
Stdlib.Lexing.lexbuf ->
'acc
val read_lcurl : lexer_state -> Stdlib.Lexing.lexbuf -> unit
val read_object_sep : lexer_state -> Stdlib.Lexing.lexbuf -> unit
val read_colon : lexer_state -> Stdlib.Lexing.lexbuf -> unit
val read_json : lexer_state -> Stdlib.Lexing.lexbuf -> t
val skip_json : lexer_state -> Stdlib.Lexing.lexbuf -> unit
val buffer_json : lexer_state -> Stdlib.Lexing.lexbuf -> unit
include module type of struct include Util end