package jsonxt

  1. Overview
  2. Docs

Module Yojson.BasicSource

Sourcetype t = json
Sourcetype json_line = [
  1. | `Json of t
  2. | `Exn of exn
]
Sourceval from_string : ?buf:Buffer.t -> ?fname:string -> ?lnum:int -> string -> t
Sourceval from_channel : ?buf:Buffer.t -> ?fname:string -> ?lnum:int -> in_channel -> t
Sourceval from_file : ?buf:Buffer.t -> ?fname:string -> ?lnum:int -> string -> t
Sourceval from_lexbuf : lexer_state -> ?stream:bool -> Lexing.lexbuf -> t
Sourceval stream_from_string : ?buf:Buffer.t -> ?fname:string -> ?lnum:int -> string -> t Stream.t
Sourceval stream_from_channel : ?buf:Buffer.t -> ?fin:(unit -> unit) -> ?fname:string -> ?lnum:int -> in_channel -> t Stream.t
Sourceval stream_from_file : ?buf:Buffer.t -> ?fname:string -> ?lnum:int -> string -> t Stream.t
Sourceval stream_from_lexbuf : lexer_state -> ?fin:(unit -> unit) -> Lexing.lexbuf -> t Stream.t
Sourceval linestream_from_channel : ?buf:Buffer.t -> ?fin:(unit -> unit) -> ?fname:string -> ?lnum:int -> in_channel -> json_line Stream.t
Sourceval linestream_from_file : ?buf:Buffer.t -> ?fname:string -> ?lnum:int -> string -> json_line Stream.t
Sourceval read_t : lexer_state -> Lexing.lexbuf -> t
Sourceval to_string : ?buf:Buffer.t -> ?len:int -> ?std:bool -> t -> string
Sourceval to_channel : ?buf:Buffer.t -> ?len:int -> ?std:bool -> out_channel -> t -> unit
Sourceval to_file : ?len:int -> ?std:bool -> string -> t -> unit
Sourceval to_outbuf : ?std:bool -> Buffer.t -> t -> unit
Sourceval to_output : ?buf:Buffer.t -> ?len:int -> ?std:bool -> < output : string -> int -> int -> 'a.. > -> t -> 'a
Sourceval stream_to_string : ?buf:Buffer.t -> ?len:int -> ?std:bool -> t Stream.t -> string
Sourceval stream_to_channel : ?buf:Buffer.t -> ?len:int -> ?std:bool -> out_channel -> t Stream.t -> unit
Sourceval stream_to_file : ?len:int -> ?std:bool -> string -> t Stream.t -> unit
Sourceval stream_to_outbuf : ?std:bool -> Buffer.t -> t Stream.t -> unit
Sourceval write_t : Buffer.t -> t -> unit
Sourceval pretty_print : ?std:bool -> Format.formatter -> t -> unit
Sourceval pretty_to_string : ?std:bool -> t -> string
Sourceval pretty_to_channel : ?std:bool -> out_channel -> t -> unit
Sourceval prettify : ?std:bool -> string -> string
Sourceval compact : ?std:bool -> string -> string
Sourceval equal : t -> t -> bool
Sourceval sort : t -> t
Sourceval show : t -> string
Sourceval pp : Format.formatter -> t -> unit
Sourcemodule Util : sig ... end
OCaml

Innovation. Community. Security.