Why Sonic?
#4402
Replies: 1 comment
-
|
Good question! Here is the context: Why Sonic?
About the
Security considerations:
If you prefer standard library: go build -tags=go_json ./...Or use go build -tags=jsoniter ./...Bottom line: |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Recently I evaluated Gin for use in a personal project. I was surprised to see that the first dependency of Gin is sonic, a JSON serialization/de-serialization package developed by the Chinese company Bytedance.
41% of the Sonic repository is Assembly. Almost every file I viewed used the
unsafepackage. Given that this package is used to validate user input (probably the most common attack vector), is this not a security concern for users of Gin?Beta Was this translation helpful? Give feedback.
All reactions