Package

org.genivi.sota

marshalling

Permalink

package marshalling

Visibility
  1. Public
  2. All

Type Members

  1. trait CirceInstances extends AnyRef

    Permalink

    Some datatypes we use don't have predefined JSON encoders and decoders in Circe, so we add them here.

    Some datatypes we use don't have predefined JSON encoders and decoders in Circe, so we add them here.

    See also

    https://github.com/travisbrown/circe

  2. trait CirceMarshallingSupport extends AnyRef

    Permalink

    Akka HTTP comes with built-in support for (un)marshalling using the Spray JSON library, however since we are using Circe for JSON we need to add this ourselves.

    Akka HTTP comes with built-in support for (un)marshalling using the Spray JSON library, however since we are using Circe for JSON we need to add this ourselves.

    See also

    https://github.com/travisbrown/circe

    http://doc.akka.io/docs/akka-stream-and-http-experimental/1.0/scala.html

  3. case class DeserializationException(cause: Throwable) extends Throwable with Product with Serializable

    Permalink

    Unmarshalling into JSON sometimes fails, see CirceMarshallingSupport.scala.

  4. case class RefinementError[T](o: T, msg: String) extends Throwable with NoStackTrace with Product with Serializable

    Permalink

    Sometimes validation (refinement) fails, see RefinedMarshallingSupport.scala.

Value Members

  1. object CirceInstances extends CirceInstances

    Permalink
  2. object CirceMarshallingSupport extends CirceMarshallingSupport with CirceInstances

    Permalink
  3. object RefinedMarshallingSupport

    Permalink

    Add Akka HTTP request unmarshalling support for refined types.

    Add Akka HTTP request unmarshalling support for refined types.

    See also

    https://github.com/fthomas/refined

    http://doc.akka.io/docs/akka-stream-and-http-experimental/1.0/scala.html

Ungrouped