Adds an option --skip-serializing-none for Rust. With the option on, it will instruct serde to skip serializing the optional fields if they are empty (None).
Can reduce the size and noisiness of the json output for large structs with many optional fields.
Adds an option
--skip-serializing-none
for Rust. With the option on, it will instructserde
to skip serializing the optional fields if they are empty (None).Can reduce the size and noisiness of the json output for large structs with many optional fields.