json_inference library

Functions

generalizeValueTypes(List<ValueType> valueTypes) ValueType
Merges multiple ValueTypes together.
inferValueType(Object? value) ValueType
Infers a ValueType representing the given JSON value.
inferValueTypes(Iterable values) ValueType
Infers the ValueType of multiple JSON values with the same structure.