Packages

object Json

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Json
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. val EmptyObjectBlob: Blob
  5. val NullBlob: Blob
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  8. implicit def deriveJsonCodec[A](implicit arg0: schema.Schema[A]): JsonCodec[A]
  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  11. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  12. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  13. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  14. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  15. val jsoniter: JsoniterCodecCompiler

    Default jsoniter codec compiler, which can produce instances of com.github.plokhotnyuk.jsoniter_scala.core.JsonCodec from instances of smithy4s.schema.Schema (which are generated for all smithy data types)

  16. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  17. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  18. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  19. val payloadCodecs: JsonPayloadCodecCompiler

    Default payload codec compiler, which can produce instances of smithy4s.codec.PayloadCodec from instances of smithy4s.schema.Schema (which are generated for all smithy data types).

    Default payload codec compiler, which can produce instances of smithy4s.codec.PayloadCodec from instances of smithy4s.schema.Schema (which are generated for all smithy data types). PayloadCodecs can be used, for instance, in http-interpreters.

  20. def read[A](blob: Blob)(implicit arg0: schema.Schema[A]): Either[PayloadError, A]

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

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

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

  21. def readDocument(bytes: Array[Byte]): Either[PayloadError, Document]

    Parses a smithy4s.Document from a Array[Byte] containing a Json payload.

  22. def readDocument(string: String): Either[PayloadError, Document]

    Parses a smithy4s.Document from a String containing a Json payload.

  23. def readDocument(blob: Blob): Either[PayloadError, Document]

    Parses a smithy4s.Document from a smithy4s.Blob containing a Json payload.

  24. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  25. def toString(): String
    Definition Classes
    AnyRef → Any
  26. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  27. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  28. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  29. def writeBlob[A](a: A)(implicit arg0: schema.Schema[A]): Blob

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

    Writes the json 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.

    When writing interpreters, please prefer using the payloadCodecs object.

  30. def writeDocumentAsBlob(document: Document): Blob

    Writes a smithy4s.Document into a binary Blob.

  31. def writeDocumentAsPrettyString(document: Document): String

    Writes a smithy4s.Document into a pretty string with a 2-spaces indentation

  32. def writePrettyString[A](a: A)(implicit arg0: schema.Schema[A]): String

    Writes the json representation for an instance of A into a 2-spaces-indented string.

    Writes the json representation for an instance of A into a 2-spaces-indented string.

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

    When writing interpreters, please prefer using the payloadCodecs object.

Inherited from AnyRef

Inherited from Any

Ungrouped