package geojsone

  1. Overview
  2. Docs
val decode : decoder -> [> `Error of [> `Expected of [> `Json ] | `Illegal_BOM | `Illegal_literal of string | `Illegal_number of string ] | `Lexeme of [> `As | `Bool of bool | `Float of float | `Null | `Os | `String of string ] ]
val pp_decode : Stdlib.Format.formatter -> [< `Await | `Comment of [< `M | `S ] * string | `End | `Error of [< `Expected of [< `Aval of bool | `Comment | `Eoi | `Json | `Name | `Name_sep | `Omem of bool | `Value ] | `Illegal_BOM | `Illegal_bytes of string | `Illegal_escape of [< `Lone_hi_surrogate of int | `Lone_lo_surrogate of int | `Not_esc_uchar of Stdlib.Uchar.t | `Not_hex_uchar of Stdlib.Uchar.t | `Not_lo_surrogate of int ] | `Illegal_literal of string | `Illegal_number of string | `Illegal_string_uchar of Stdlib.Uchar.t | `Unclosed of [< `As | `Comment | `Os | `String ] ] | `Lexeme of [< `Ae | `As | `Bool of bool | `Float of float | `Name of string | `Null | `Oe | `Os | `String of string ] | `White of string ] -> unit
val encode : encoder -> [< `Await | `Comment of [< `M | `S ] * string | `End | `Lexeme of [< `Ae | `As | `Bool of bool | `Float of float | `Name of string | `Null | `Oe | `Os | `String of string ] | `White of string ] -> [> `Ok ]