You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The approach taken by json-iterator and its reflect library is not stable (it pins to internal details of the stdlib reflect package), and requires maintenance per go release, which does not appear to be sustainable (golang/go#48238 (comment))
In addition to the maintenance aspect, it is hard to reason about the safety of the implementation (golang/go#48238 (comment))
Kubernetes has transitioned away from json-iterator and is using sigs.k8s.io/json - a library based on the stdlib json decoder that added in case-sensitivity and int-preserving behavior.
The text was updated successfully, but these errors were encountered:
The etcd client currently depends on json-iterator via the client/v2 package:
etcd/client/v2/json.go
Lines 60 to 73 in ef1f71a
This is still relied on by portions of the v3 libraries:
etcd/server/etcdserver/api/v2discovery/discovery.go
Line 34 in ef1f71a
The approach taken by json-iterator and its reflect library is not stable (it pins to internal details of the stdlib reflect package), and requires maintenance per go release, which does not appear to be sustainable (golang/go#48238 (comment))
In addition to the maintenance aspect, it is hard to reason about the safety of the implementation (golang/go#48238 (comment))
Kubernetes has transitioned away from json-iterator and is using sigs.k8s.io/json - a library based on the stdlib json decoder that added in case-sensitivity and int-preserving behavior.
The text was updated successfully, but these errors were encountered: