Unbound module Bi_outbuf

Just to clarify–are you asking about parsing as in taking a string as input and producing a JSON structure as output? Or decoding as in, taking a JSON structure as input and producing a custom OCaml type as output?