[][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 - JellySchema
  • data - JSON value to start with
  • include_optional - if false only required properties are filled