You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
And JSON3.jl not failing when there are extra fields. So JSON3.read("{\"name\":\"test\",\"n\":1}", Type2) does not fail.
Might we add a keyword argument ignore_extra_fields::Bool=false to JSON3.read to opt into throwing an error when an extra field is encountered?
This is unexpected and may be a bug.
The parsing as
Type2
in the second example drops one field of the json data.The text was updated successfully, but these errors were encountered: