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
{{ message }}
Repository navigation
encoding/json/v2: possibly clarify retention prohibitions in documentation [1.27 backport] #82631
@thepudds requested issue #80885 to be considered for backport to the next 1.27 minor release.
@gopherbot, please open a backport issue for https://go.dev/cl/817040. This is mostly a clarification for json/v2 to add an explicit documented restriction regarding retaining a pointer, where retaining that pointer is already unwise. It also keeps the door open for some future possible optimizations for json/v2 unmarshalling. @dmitshur and others previously said this would likely be reasonable to backport.
Activity
cherrymui commentedon Nov 3, 2026
This is okay for backporting. We can backport CL 854947 for the marshal side together (which will "fixes" #80885).