Skip to content

encoding/json/v2: investigate replacing jsontext.Internal symbol #73435

@neild

Description

@neild

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    LibraryProposalIssues describing a requested change to the Go standard library or x/ libraries, but not to a toolProposal

    Type

    No type

    Projects

    Status

    Under review

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions