项目作者: SpotsInc

项目描述 :
common entities marshaller
高级语言: Scala
项目地址: git://github.com/SpotsInc/akka-http-marshaller.git
创建时间: 2017-02-26T22:02:38Z
项目社区:https://github.com/SpotsInc/akka-http-marshaller

开源协议:Apache License 2.0

下载


akka-http-marshaller

Common entities marshaller

Usage:

In your build.sbt add the marshaller as a project

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

Then in your project:

  1. import com.localinc.akkahttp.marshalling.Marshaller
  2. object SomeRoute extends Marshaller {
  3. //your code here
  4. }

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