Skip to content

Replace allow_extra_fields with strict #63

Description

@jchavarri

The default behavior of allow_extra_fields differs between both platforms.

It'd be nice to consolidate: make ignoring extra fields the default on both native and js, and add a decorator @json.strict instead, as allowing extra fields is a more common use case.

Originally discussed in #42.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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