The draft encoding/json/jsontext package includes an "Internal" symbol used to expose internal implementation details to encoding/json and encoding/json/v2.
This is awkward and not something we've done in the public API of a package in the standard library before. We should avoid it if we can, even if that means some additional inconvenience for ourselves. Possibilities might include an additional internal package and/or //go:linkname shenanigans.
The draft encoding/json/jsontext package includes an "Internal" symbol used to expose internal implementation details to encoding/json and encoding/json/v2.
This is awkward and not something we've done in the public API of a package in the standard library before. We should avoid it if we can, even if that means some additional inconvenience for ourselves. Possibilities might include an additional internal package and/or //go:linkname shenanigans.