Skip to content

proposal: encoding/json: export tagOptions, parseTag #60770

@sparr

Description

@sparr

https://cs.opensource.google/go/go/+/master:src/encoding/json/tags.go

Multiple other packages reimplement similar functionality, including efforts to match the behavior of encoding/json:

Exporting this functionality would allow those and similar packages to have convenient access to identical behavior to the json package. It would even allow them to safely parse the json tag, if they so choose.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    Incoming

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions