Skip to content

Handling of nulls with Number differs from encoding/json #184

Closed
@oschwald

Description

@oschwald

This is similar to #181, but for null. encoding/json unmarshals a null value to json.Number("") while jsoniter returns an error:

readNumberAsString: invalid number, parsing 53 ..."", "t5": ... at {"test":"blah", "t2":472, "t3":"473", "t4":"", "t5": null}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions