glitch/extended/json_ext

Types

pub type JsonDecoder(input, output) =
  fn(input) -> Result(output, DecodeError)
pub type JsonEncoder(input) =
  fn(input) -> Json

Functions

pub fn option(
  from opt: Option(a),
  using encoder: fn(a) -> Json,
) -> Json
pub fn uri(uri: Uri) -> Json
Search Document