Skip to content

Support DisallowUnknownFields in golang 1.10 #230

@evie404

Description

@evie404

Hi,

Thanks a lot for creating this package. It has been very helpful in my project. One small request:
json package in golang 1.10 will introduce DisallowUnknownFields() which would throw an error if a field is missing during unmarshaling. it would be great if json-iterator can support the same configuration.

Reference change in golang:
https://go-review.googlesource.com/c/go/+/74830

Thank you for considering this request!

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