- Provide
*_result
variants of reading functions with informative errors (@gasche, @dinosaure, #43) - Improve support of
js_of_ocaml
and be able to parse huge JSON values (@hhugo, @dinosaure, @avsm, @smondet, @gasche)
- Add
find_opt
to provide an exception-less version offind
(#39 @avsm) - Raise
Parse_error
instead of assert failure if the input tofrom_string
is not a valid JSON array or object (#39 @avsm). - Upgrade build rules to dune 2.0 (#38 @avsm)
- Depend on Sexplib0 instead of Sexplib since we only need the type definition. This reduces the dependency cone of Ezjsonm (and skips Base). (#38 @avsm)
- Add
value_to_*
andvalue_from_*
methods to support RFC 7159/ECMA-404 (#34 @jaredly)
- Upgrade opam metadata to 2.0 format (@avsm)
- Update build from jbuilder to dune (@avsm)
- Support dune-release (@avsm)
- Split into 2 toplevel packages: ezjsonm and ezjsonm-lwt
- Build with jbuilder
- Fix error messages to be more specific when failing to parse an int
- Support
sexp_of_t
t_of_sexp
sexp_of_value
value_of_sexp
- Fix support for OCaml 4.03 (@samoht)
- Add unit-tests (#2)
- Fix the parsing of JSON streams. Normal JSON arrays should be valid streams (#16)
- Use polymorphic variants subtyping to avoid manual coercion in the API (#11, patch from Julien Sagot)
- Clean-up the typed representation of serializable JSON (#5, report and patch from Rudi Grinberg)
- add int32/int64/triple combinators
- fix a bug with the option types
- fix the type of the
unit
combinator
- Expose [parse_error]
- Add sexpilb conversion functions
- Add functions to encode/decode non utf8 strings (using hex encoding)
- Add a new module
Ezjsonm_lwt
, to convert string streams to json streams - Expose
Ezjsonm.get_bool
- Initial version