plugin/content/serialization library

Functions

listFromJson<T extends SchemaItem>(dynamic json) List<T>?
Converts a JSON list to a nullable-list of SchemaItem instances of type T.
readValue(dynamic json, String key) Object?
Reads a value from a JSON object using the provided key.
typeFromFirstOfListJson<T extends SchemaItem>(dynamic json) → T?
Converts a JSON object to a nullable-instance of SchemaItem of type T.