Skip to content

No error on invalid keyword arguments #304

@LilithHafner

Description

@LilithHafner

It would be nice to throwing errors on invalid keyword arguments:

julia> JSON3.write(NaN, allow_nan=true)
ERROR: NaN not allowed to be written in JSON spec

julia> JSON3.write("abc", splork=1729)
"\"abc\""

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions