GenericElementString
class GenericElementString(val element: String, val elementSerializer: KSerializer<String> = String.serializer()) : GenericElement(source)
A GenericElement implementation that wraps a string value.
Functions
Link copied to clipboard
Deserializes the string element using strict type conversion.
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.