Package

io.deepsense.commons.json

envelope

Permalink

package envelope

Visibility
  1. Public
  2. All

Type Members

  1. case class Envelope[T](content: T) extends Product with Serializable

    Permalink

    Envelope for objects serializable to JSON

    Envelope for objects serializable to JSON

    Such object can be later encoded into following JSON using EnvelopeJson[Writer/Format]

    { [label]: [JSON representation of the content] }

    where [label] is a string defined in EnvelopeJson[Writer/Format]. There is also EnvelopeJsonReader which allows for decoding.

  2. case class EnvelopeJsonFormat[T](label: String)(implicit evidence$3: JsonFormat[T]) extends RootJsonFormat[Envelope[T]] with Product with Serializable

    Permalink

    JSON encoder and decoder for Envelope[T] objects

  3. case class EnvelopeJsonReader[T](label: String)(implicit evidence$2: JsonReader[T]) extends RootJsonReader[Envelope[T]] with Product with Serializable

    Permalink

    JSON encoder for Envelope[T] objects

  4. case class EnvelopeJsonWriter[T](label: String)(implicit evidence$1: JsonWriter[T]) extends RootJsonWriter[Envelope[T]] with Product with Serializable

    Permalink

    JSON decoder for Envelope[T] objects

Ungrouped