Skip to main content

strip_nulls

Function strip_nulls 

Source
pub fn strip_nulls(value: &mut Value)
Expand description

Drop null object fields recursively.

Every nullable field in the data model is an Option, for which an absent key and an explicit null are equivalent on the way back in, so this keeps output readable without changing what it means.