json_inference library
Classes
- BooleanValueType
-
CollectionValueType<
J, D> - DoubleValueType
- IntegerValueType
-
JsonObjectValueType<
D> -
ListValueType<
D> -
NestedObjectValueTypeEntry<
J, D> - Metadata about a TypedJsonObjectValueType found during the flattening process.
-
NumberValueType<
T extends num> -
PrimitiveValueType<
T> - StringValueType
-
TypedJsonMapValueType<
K, J, D> -
TypedJsonObjectValueType<
J, D> -
TypedListValueType<
J, D> - UnknownValueType
- A ValueType representing an unknown value.
-
ValueType<
J, D>
Enums
- NestedObjectValueTypeParentCategory
- The type of the parent of a NestedObjectValueTypeEntry.
Mixins
Extensions
- ValueTypeFlattening on ValueType
-
ValueTypeInference
on ValueType<
J, D>
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.