bison/decoders

Functions

pub fn bit_array(
  dyn: Dynamic,
) -> Result(BitArray, List(DecodeError))
pub fn bool(dyn: Dynamic) -> Result(Bool, List(DecodeError))
pub fn dict(
  value_decoder: fn(Dynamic) -> Result(a, List(DecodeError)),
) -> fn(Dynamic) -> Result(Dict(String, a), List(DecodeError))
pub fn float(dyn: Dynamic) -> Result(Float, List(DecodeError))
pub fn infinity(dyn: Dynamic) -> Result(Value, List(DecodeError))
pub fn int(dyn: Dynamic) -> Result(Int, List(DecodeError))
pub fn js(dyn: Dynamic) -> Result(String, List(DecodeError))
pub fn list(
  value_decoder: fn(Dynamic) -> Result(a, List(DecodeError)),
) -> fn(Dynamic) -> Result(List(a), List(DecodeError))
pub fn max(dyn: Dynamic) -> Result(Value, List(DecodeError))
pub fn min(dyn: Dynamic) -> Result(Value, List(DecodeError))
pub fn nan(dyn: Dynamic) -> Result(Value, List(DecodeError))
pub fn negative_infinity(
  dyn: Dynamic,
) -> Result(Value, List(DecodeError))
pub fn nil(dyn: Dynamic) -> Result(Nil, List(DecodeError))
pub fn object_id(
  dyn: Dynamic,
) -> Result(ObjectId, List(DecodeError))
pub fn regex(
  dyn: Dynamic,
) -> Result(#(String, String), List(DecodeError))
pub fn string(dyn: Dynamic) -> Result(String, List(DecodeError))
pub fn time(dyn: Dynamic) -> Result(Time, List(DecodeError))
pub fn timestamp(
  dyn: Dynamic,
) -> Result(#(Int, Int), List(DecodeError))
pub fn wrap(
  decoder: fn(Dynamic) -> Result(a, List(DecodeError)),
) -> fn(Dynamic) -> Result(a, List(DecodeError))
Search Document