Just define all the fields (including the optional ones). Attributes of the receiving structure that are not represented by fields in the JSON will be set to their default value.
↧