Created
July 13, 2016 20:58
-
-
Save pjazdzewski1990/cc2c98b48af781b75c148e0e03acde9b to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
lazy val BigDecimalSerializer: PathParamSerializer[BigDecimal] = | |
com.lightbend.lagom.javadsl.api.deser.PathParamSerializers.required( | |
"BigDecimal", | |
(pathValue: String) => BigDecimal(pathValue), | |
(v: BigDecimal) => v.toString | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment