Document

smithy4s.Document
See theDocument companion object
sealed trait Document extends Product, Serializable

A json-like free-form structure serving as a model for the Document datatype in smithy.

Attributes

Companion
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Known subtypes
class DArray
class DBoolean
object DNull.type
class DNumber
class DObject
class DString
Show all

Members list

Value members

Concrete methods

def decode[A](implicit decoder: Decoder[A]): Either[PayloadError, A]
def name: String
def show: String

Toy renderer that does not comply the json specification : strings aren't escaped and keys aren't quoted. Do not use for any real purpose other than debugging.

Toy renderer that does not comply the json specification : strings aren't escaped and keys aren't quoted. Do not use for any real purpose other than debugging.

Attributes

override def toString(): String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns

a string representation of the object.

Definition Classes
Any

Inherited methods

def canEqual(that: Any): Boolean

Attributes

Inherited from:
Equals
def productArity: Int

Attributes

Inherited from:
Product
def productElement(n: Int): Any

Attributes

Inherited from:
Product
def productElementName(n: Int): String

Attributes

Inherited from:
Product
def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product
def productPrefix: String

Attributes

Inherited from:
Product