JSON3 default values

How can I add default parameters for a struct that is parsed using JSON3.jl ?

Do I need to overload the StructTypes.construct method, or is there an easier way?

Something like this:

import JSON3

struct Foo
    foo::Union{Nothing,Float64}
end

JSON3.read("""{"foo": null}""", Foo)
import JSON3

Base.@kwdef struct Foo
    foo::Float64=1.23
end

JSON3.read("""{"foo": null}""", Foo)