[breaking] Library, PPX: Unify runtimes (*.ppx-runtime libraries are removed, can use melange-json and melange-json-native instead), replace Json module with Melange_json, deprecate Decode and Encode modules, introduce new decoding error type and helper function of_json_error_to_string. (#36)
[breaking] PPX: Code to decode polyvariants doesn't use an additional _poly function which was also generated by the PPX. Instead Unexpected_variant error is used to signal that next decoder should be tried. (#32)
[breaking] Json.Decode.DecodeError exception now contains a variant type as payload instead of a string. (#32)
[breaking] PPX: Rename [@json.as] to [@json.name] (#23)
[breaking] PPX: Drop special encoding for enumeration-like variants (variants with each constructor having no arguments). (#26)
[breaking] PPX: change JSON representation of polyvariants, make it compatible with ppx_deriving_yojson and ppx_yojson_conv (#27)
[breaking] PPX: Consistent use of exceptions in runtime. (#28)
PPX: [@@deriving json] now can be used within signatures (this includes .mli files). (#32)
Rewrote Encode.list to be stack-safe and much faster.
5.0.2
Added Json.Decode.id
5.0.1
Dual licensed as LGPL-3.0 and MPL-2.0. MPL is mostly equivalent to LGPL but relaxes its restriction on linking, which works better with the JavaScript packaging and distribution model.
5.0.0
Removed deprecated arrayOf encoder
Renamed dict encoder to jsonDict
Added new dict encoder that takes an additional encoder argument used to encode the contained values, and so it's consistent with the respective dict decoder.
4.0.0
Bumped bs-platform peer dependency to 5.0.4 to stop the compiler's complaining.
3.0.0
Replace usage of Js.Date.toJSON with Js.Date.toJSONUsafe, which is exactly the same, just to avoid deprecation warnings for end users (Thanks Bob!)