Skip to content

SpotsInc/akka-http-marshaller

Repository files navigation

akka-http-marshaller

Common entities marshaller

Usage:

In your build.sbt add the marshaller as a project

lazy val marshaller =
  ProjectRef(uri("https://github.com/LocalInc/akka-http-marshaller.git#v0.1.3"), "marshaller")
  
// add marshaller as a dependency to your project with .dependsOn(marshaller)

Then in your project:

import com.localinc.akkahttp.marshalling.Marshaller

object SomeRoute extends Marshaller {

    //your code here

}

Supported Entities

This package can help marshalling

  1. java.util.UUID
  2. java.util.Date
  3. org.joda.time.Datetime

Note: this project will be added to Maven soon

Contribution:

please create an issue on github and create a branch with this issue then send a pull request