repair_object_fields

Function repair_object_fields 

Source
pub fn repair_object_fields(
    obj: &mut Map<String, Value>,
    schema: &ObjectSchema,
    path: &str,
    options: &FuzzyOptions,
) -> Vec<Correction>
Expand description

Repair field names in a JSON object using an ObjectSchema

Returns the list of corrections made.