- Corrected typespec.
- The
thoas:decode/2
function now accepts thekeys
option which can be one ofreference
,copy
,to_existing_atom
, orto_atom
.
- Corrected an incorrect typespec.
- Dates and datetimes may now be encoded with
thoas:encode/2
.
float_to_binary(Float, [short])
is now used for encoding floats. This improves performance and memory usage, but means this library now requires OTP 25.0 or later.
- Corrected the
json_term
type to includenull
,true
, andfalse
.
- Adds support for integer keys.
- Proplists may now be encoded with
thoas:encode/2
.
- The atom
null
is now used to representnull
, notnil
as was previously used.
- Initial version