Fix mimic JSON load so that it honors the :symbolize_names option.
3.13.8 - 2021-09-27
Fix Oj::Doc behaviour for inexisting path.
Oj::Doc.open('{"foo":1}') do |doc|
doc.fetch('/foo/bar') # used to give `1`, now gives `nil`
doc.exists?('/foo/bar') # used to give `true`, now gives `false`
end
Fix Oj::Parser handling of BigDecimal. snprint() does not handle %Lg correctly but sprintf() does.
3.13.7 - 2021-09-16
The JSON gem allows invalid unicode so Oj, when mimicing JSON now
allows it as well. Use :allow_invalid_unicode to change that.
3.13.6 - 2021-09-11
Fixed unicode UTF 8 parsing in string values.
Fixed hash key allocation issue.
The Oj::Parser.new() function now allows optional arguments that
set the allowed options for the mode. As an example
Oj::Parser.new(:usual, cache_keys: true).
3.13.5 - 2021-09-08
Assure value strings of zero length are not always cached.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually 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 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)
Bumps oj from 3.13.3 to 3.13.10.
Changelog
Sourced from oj's changelog.
Commits
219e83e
Merge branch 'develop'0f832cb
Fix typo and format of fast.cbf74678
Fix empty Doc each_child bugd3fdc91
Fix Oj::Doc each_cild re-entrant issuea55bad5
Use RARRAY_AREF() instead to improve array accessing (#724)7b9a95f
Makeoj_dump_ignore()
an inline function (#721)ed03e0e
Optimize parsing option args inJSON.parse
(#720)a4efd89
Reduce rb_type() calling inOj.dump
(#718)b11929b
Update usage of :bigdecimal_as_decimal in Rails Mode (#716)1d219ea
expanded documentation for using Oj to replace JSON (#714)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually 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 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)