GenericElementWrapper
class GenericElementWrapper<T : Any>(val element: T, val elementSerializer: KSerializer<T>) : GenericElement(source)
A GenericElement implementation that wraps a value of type T.
Functions
Link copied to clipboard
Deserializes the element into the given serializer.
Link copied to clipboard
If this is a list, return all elements.
Link copied to clipboard
Returns the empty element if the given element is null, otherwise returns the element.
Link copied to clipboard
Merges two elements into a single element with the keys of both.