Skip to content

Releases: michalmuskala/jason

v1.5.0-alpha.1

16 Oct 21:07
Compare
Choose a tag to compare
v1.5.0-alpha.1 Pre-release
Pre-release

Enhancements

  • Add optional dependency for jason_native.
    Please refer to the repo for usage instructions

v1.4.0

13 Sep 07:49
Compare
Choose a tag to compare

Enhancements

  • Use the :erlang.float_to_binary(_, [:short]) function, instead of io_lib_format.fwrite_g/1
    where available (OTP 24.1+). This provides equivalent output with much less memory used
    and significantly improved performance.

v1.3.0

21 Dec 14:25
Compare
Choose a tag to compare

Enhancements

  • Add the Jason.OrderedObject struct
  • Support decoding objects preserving all the keys with objects: :ordered_objects option
  • Support decoding floats to Decimal with floats: :decimals option
  • Add ~j and ~J sigils in module Jason.Sigil to support writing JSON literals in code

Fixes

  • Fix error reporting when decoding strings (it was possible to mis-attribute the offending byte)
  • Verify fields given to @derive

1.2.2

08 Sep 20:02
Compare
Choose a tag to compare

1.2.2 (08.09.2020)

Enhancements

  • Support Decimal 2.