Skip to content

encoding/json: support int map keys in encoding/json #12529

Closed
@allaud

Description

@allaud

Our team faced a strange issue with encoding map[int]string into json. Our current solution is to use patched json encoder, which can encode integer keys as strings.

Why not to implement this in the default module?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions