-
Notifications
You must be signed in to change notification settings - Fork 21
Open
Description
Julia Version: 1.7.2.
I see that Real
is supposed to be StructTypes.NumberType()
, but it can't actually deserialize:
julia> JSON3.read("456", Real)
ERROR: ArgumentError: invalid JSON at byte position 1 while parsing type Real: ExpectedOpeningObjectChar
456
julia> JSON3.read("456", Union{Integer, AbstractFloat})
456.0
Metadata
Metadata
Assignees
Labels
No labels