Skip to main content

Module repair

Module repair 

Source
Expand description

Generic JSON repair logic

This module provides generic fuzzy repair functions that work with any schema provided by the caller.

Structs§

Correction
A single correction made during repair
FuzzyOptions
Options for fuzzy repair
RepairResult
Result of a repair operation

Functions§

repair_enum_array
Repair values in an enum array
repair_fields_with_list
Repair field names in a JSON object using a field list
repair_object_fields
Repair field names in a JSON object using an ObjectSchema
repair_tagged_enum
Repair a tagged enum JSON object using a TaggedEnumSchema
repair_tagged_enum_array
Repair an array of tagged enums
repair_tagged_enum_json
Repair a tagged enum from JSON string