Xml

smithy4s.xml.Xml
object Xml

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Xml.type

Members list

Value members

Concrete methods

def read[A : Schema](blob: Blob): Either[XmlDecodeError, A]

Reads an instance of A from a smithy4s.Blob holding an XML payload.

Reads an instance of A from a smithy4s.Blob holding an XML payload.

Beware : using this method with a non-static schema (for instance, dynamically generated) may result in memory leaks.

Attributes

def write[A : Schema](a: A): Blob

Writes the XML representation for an instance of A into a smithy4s.Blob.

Writes the XML representation for an instance of A into a smithy4s.Blob.

Beware : using this method with a non-static schema (for instance, dynamically generated) may result in memory leaks.

Attributes

def writeToString[A : Schema](a: A): Option[String]

Writes the XML representation for an instance of A into a String.

Writes the XML representation for an instance of A into a String.

Beware : using this method with a non-static schema (for instance, dynamically generated) may result in memory leaks.

Attributes

Concrete fields

val decoders: Compiler
val encoders: Compiler