A blazingly fast JSON serializing & deserializing library
Full Changelog: https://github.com/bytedance/sonic/compare/v1.11.2...v1.11.4
ast
package support arm64Full Changelog: https://github.com/bytedance/sonic/compare/v1.11.2...v1.11.3
Full Changelog: https://github.com/bytedance/sonic/compare/v1.11.1...v1.11.2
Unset()
used physical index to removePair
rt
on non-amd64 envFull Changelog: https://github.com/bytedance/sonic/compare/v1.11.0...v1.11.1
Get
Node.Interface()
Set
on non-object node unexpectedlyUnset()
.
Unset()
's behavior will be compatible with versions <= 1.9.x, while being incompatible with versions on 1.10.xFull Changelog: https://github.com/bytedance/sonic/compare/v1.10.2...v1.11.0
Get()
will always COPY returned JSON from input JSON bytes, in order to reduce the possibility of OOM when caching ast.Node
.
Get()
won't copy entity input JSON bytes like before, for CPU performance. The panic may be more frequent for services that exist data-race on input JSON bytes.Full Changelog: https://github.com/bytedance/sonic/compare/v1.11.0-rc...v1.11.0-rc.2
[#571] (ast) implement soft delete for Unset()/UnsetByIndex()
, which means the node Len()
and Index()
will change after Unset()
. This change is in order to be in keeping with versions <= v1.9.2
Set
on non-object node unexpectedly change node typeFull Changelog: https://github.com/bytedance/sonic/compare/v1.10.3-rc...v1.11.0-rc
Node.Interface()
by @AsterDY in https://github.com/bytedance/sonic/pull/544
Full Changelog: https://github.com/bytedance/sonic/compare/v1.10.2...v1.10.3-rc
Only used for users who doesn't care about break change on Node.UnsafeArray()
and Node.UnsafeMap()