diff --git a/src/model/data_form.rs b/src/model/data_form.rs index 8a94d29..91a9a75 100644 --- a/src/model/data_form.rs +++ b/src/model/data_form.rs @@ -529,6 +529,7 @@ pub struct Entry { #[serde(rename = "SeitenumbruchPatModul")] seitenumbruch_pat_modul: bool, #[serde(rename = "Kontaktliste")] + #[serde(skip_serializing_if = "Option::is_none")] kontaktliste: Option, #[serde(rename = "MarkierungIgnorieren")] markierung_ignorieren: bool, diff --git a/src/model/unterformular.rs b/src/model/unterformular.rs index 09a3c96..999db19 100644 --- a/src/model/unterformular.rs +++ b/src/model/unterformular.rs @@ -533,6 +533,7 @@ pub struct Entry { #[serde(rename = "SeitenumbruchPatModul")] seitenumbruch_pat_modul: bool, #[serde(rename = "Kontaktliste")] + #[serde(skip_serializing_if = "Option::is_none")] kontaktliste: Option, #[serde(rename = "MarkierungIgnorieren")] markierung_ignorieren: bool,