Package-level declarations

Package with some code that allows for types that help with automatic serialization/deserialization based upon interface. This is not related to kotlinx.serialization.

Package with some code that allows for types that help with automatic serialization/deserialization based upon interface. This is not related to kotlinx.serialization.

Package with some code that allows for types that help with automatic serialization/deserialization based upon interface. This is not related to kotlinx.serialization.

Package with some code that allows for types that help with automatic serialization/deserialization based upon interface. This is not related to kotlinx.serialization.

Types

Link copied to clipboard
abstract class BaseSerializableContainer<T>(val name: <Error class: unknown class>)

Created by pdvrieze on 27/04/16.

Link copied to clipboard

Interface that allows more customization on child deserialization than SimpleXmlDeserializable. Created by pdvrieze on 04/11/15.

Link copied to clipboard
class SerializableCollection<T>(name: <Error class: unknown class>, delegate: Collection<T>) : BaseSerializableContainer<T> , Collection<T>
Link copied to clipboard
class SerializableContainer<T>(name: <Error class: unknown class>, delegate: Iterable<T>) : BaseSerializableContainer<T> , Iterable<T>
Link copied to clipboard
class SerializableList<T>(name: <Error class: unknown class>, delegate: List<T>) : BaseSerializableContainer<T> , List<T>
Link copied to clipboard

Despite the name it is reasonably sophisticated, but it structures the parsing of the children and provides them individually. This in contrast to ExtXmlDeserializable that provides full access to parse the content whatever way desired. Created by pdvrieze on 04/11/15.

Link copied to clipboard
annotation class XmlDeserializer(val value: KClass<out XmlDeserializerFactory<*>>)

Annotation that specifies the Deserializer for this type.

Functions

Link copied to clipboard
fun <T> Collection<T>.asSerializable(name: <Error class: unknown class>): SerializableCollection<T>
fun <T> Iterable<T>.asSerializable(name: <Error class: unknown class>): SerializableContainer<T>
fun <T> List<T>.asSerializable(name: <Error class: unknown class>): SerializableList<T>
Link copied to clipboard
Link copied to clipboard

Utility method to deserialize a list of xml containing strings

inline fun <T : Any> <Error class: unknown class>.deSerialize(): T

Extension functions for XmlReader that only work on Java

fun <T> <Error class: unknown class>.deSerialize(type: Class<T>): T

Utility method to deserialize a list of xml containing strings

Link copied to clipboard

Serialize the object to XML

Link copied to clipboard
fun <Error class: unknown class>.toCharArray(): CharArray

Extension functions for writing that need different js/jvm implementations

Link copied to clipboard

Create a reader that can be used to read the xml serialization of the element.

Link copied to clipboard

Do bulk toString conversion of a list. Note that this is serialization, not dropping tags.

Link copied to clipboard
fun toString(serializable: XmlSerializable): String
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard