Document

smithy4s.Document
See theDocument companion object
sealed trait Document extends Product with 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
Known subtypes
class DArray
class DBoolean
object DNull.type
class DNumber
class DObject
class DString

Members list

Concise view

Value members

Concrete methods

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

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

Attributes

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

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product