You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently we do not persist metas in any form. However, it might be useful to allow metas to be persisted in Ion to
/* or Element, depending on the interface which defines metas at the time of implementation */
interface IonElement {
// Change metas to:
val metas: Map<String, IonElementConvertible>
}
interface IonElementConvertible {
fun toIonElement(): IonElement
}
This also implies the need for some method of reading metas. For that:
interface IonElementTransformer<T> {
fun transform(element: IonElement): T
}
interface IonElementLoaderOptions {
val metaLoaderRegistry: Map<String, IonElementTransformer<IonElementConvertible>>
}
Currently we do not persist metas in any form. However, it might be useful to allow metas to be persisted in Ion to
This also implies the need for some method of reading metas. For that:
IonElementLoaderOptions
is also described in #19The text was updated successfully, but these errors were encountered: