Given a JSON object with a nullable field, such as
If you try to decode it into this struct
You'll get the error
I expected no error, and count would be the value if non-null, otherwise "0".
I actually first tried defining count as a let, which worked without error, but this introduced a bug because it will always be that "default" value even when count is non-null.