[−][src]Function jellyschema::filler::fill_default_values
pub fn fill_default_values(
schema: &Schema,
data: &mut Value,
include_optional: bool
)
Fill default values from the schema
Arguments
schema
- JellySchemadata
- JSON value to start withinclude_optional
- iffalse
only required properties are filled