Merge pull request #154 from kmkaplan/patch-1

Documentation fix
This commit is contained in:
Marc-Antoine ARNAUD 2023-02-20 18:28:51 +01:00 committed by GitHub
commit 9c4c20c4bf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2,7 +2,7 @@
## skip_serializing ## skip_serializing
Attribute `skip_serializing_if` will skip the serialisation of the field if it is set to `true`. Default value is `false`. Attribute `skip_serializing` will skip the serialisation of the field if it is set to `true`. Default value is `false`.
- `#[yaserde(skip_serializing = true)]` - Skip serialization of the field. - `#[yaserde(skip_serializing = true)]` - Skip serialization of the field.
- `#[yaserde(skip_serializing = false)]` - The field will be serialized. Default value. - `#[yaserde(skip_serializing = false)]` - The field will be serialized. Default value.