Skip to content

proposal: codec: remove json-iterator and use official encoding/json #157

@Andrew-M-C

Description

@Andrew-M-C

The performance of official encoding/json. The saying that "official json is slow" is out-of-day. Besides, json-iterator use some low-level packages those may panic when the major version of go advances.

Json-iterator panic issues:

Json-iterator performance issues:

If you really have performance concern, please use sonic, NOT json-iterator. If not, choose the official one.

Besides, less dependency, less safety issues.

Metadata

Metadata

Assignees

No one assigned

    Labels

    proposalNew external API or other notable changes

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions