Good day,
While reviewing some of my go.mod
files, I have noticed these indirect dependencies:
github.com/bytedance/sonic v1.11.6 // indirect
github.com/bytedance/sonic/loader v0.1.1 // indirect
A god mod why
revealed them to be github.com/gin-gonic/gin/internal/json
:
go mod why github.com/bytedance/sonic
# github.com/bytedance/sonic
github.com/janky-network/janky-docker/golang/ROUTE
github.com/gin-gonic/gin
github.com/gin-gonic/gin/internal/json
github.com/bytedance/sonic
go mod why github.com/bytedance/sonic/loader
# github.com/bytedance/sonic/loader
github.com/janky-network/janky-docker/golang/ROUTE
github.com/gin-gonic/gin
github.com/gin-gonic/gin/internal/json
github.com/bytedance/sonic
github.com/bytedance/sonic/ast
github.com/cloudwego/base64x
github.com/bytedance/sonic/loader
The only issues I can find relating to this are #3932 and #4139. Both of these are asking for the removal of this repository dependency. I would like to know the reason for this inclusion in this library.
Why is this here when the standard golang JSON parser should suffice for most, if not all, users?
Thanks, facemcgee