When JsonSrcGen is reusing an existing object, if the property is missing in the json (rather than being null) then JsonSrcGen doesn't set the property to null in the class.
This means until this is fixed you have to set any properties to null before calling FromJson if it could be missing in the json.
When JsonSrcGen is reusing an existing object, if the property is missing in the json (rather than being null) then JsonSrcGen doesn't set the property to null in the class.
This means until this is fixed you have to set any properties to null before calling FromJson if it could be missing in the json.