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 strict_decode(
  binary: BitArray,
  decoder: fn(Dynamic) -> Result(a, List(DecodeError)),
) -> Result(a, List(DecodeError))
Search Document