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
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)
Add limit to decoded integer sizes of 1024 digits. This can be changed
with the decoding_integer_digit_limit app env config.
1.5.0-alpha.1 (16.10.2022)
Enhancements
Add optional dependency for jason_native.
Please refer to the repo for usage instructions
1.4.0 (12.09.2022)
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.
1.3.0 (21.12.2021)
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)
You can trigger a rebase of this PR by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.
Bumps jason from 1.2.2 to 1.4.1.
Release notes
Sourced from jason's releases.
Changelog
Sourced from jason's changelog.
Commits
f3a7075
Bump 1.4.13c293b6
Update dialyxir01386f9
Fix tests on OTP 266e299d5
Add CI for OTP 26 & Elixir 1.15fa3da60
Remove deprecated ubuntu-18 runner from CIbba1dd3
Run CI in version branches2ce61ea
Limit large inter decodinged8f1c2
Document Jason.Fragment (#166)0b54829
Try another way to fix CIe00b39a
Fix CI on old ubuntuYou can trigger a rebase of this PR by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show