XmlOnlyDoubleSerializer

Serializer for doubles that serializes doubles according to XML for the XML format, but regularly for non-Xml formats.

Properties

Link copied to clipboard
open override val descriptor: SerialDescriptor

Functions

Link copied to clipboard
open override fun deserialize(decoder: Decoder): Double
Link copied to clipboard
open override fun deserializeXML(decoder: Decoder, input: XmlReader, previousValue: Double?, isValueChild: Boolean): Double

Deserialize the XML using the implementation. This is intended to be using the XmlReader for special purposes. The format will attempt to shield the input to avoid erroneous parsing.

Link copied to clipboard
open override fun serialize(encoder: Encoder, value: Double)
Link copied to clipboard
open override fun serializeXML(encoder: Encoder, output: XmlWriter, value: Double, isValueChild: Boolean)

Deserialize the XML using the implementation. This is intended to be using the XmlReader for special purposes. The format will attempt to shield the input to avoid erroneous parsing.