bison

Functions

pub fn decode(
  binary: BitArray,
) -> Result(Dict(String, Value), Nil)
pub fn encode(doc: Dict(String, Value)) -> BitArray
pub fn encode_list(doc: List(#(String, Value))) -> BitArray
pub fn to_custom_type(
  doc: Dict(String, Value),
  decoder: fn(Dynamic) -> Result(a, List(DecodeError)),
) -> Result(a, List(DecodeError))
Search Document