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. case class DeserializationException(cause: Throwable) extends Throwable with Product with Serializable

    Permalink

    Unmarshalling into JSON sometimes fails, see CirceMarshallingSupport.scala.

  3. case class RefinementError[T](o: T, msg: String) extends Exception 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 CirceSupport 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