Created
November 22, 2019 22:12
-
-
Save duanebester/0c1f43d6bc278540099ff64a4a8ba9fb to your computer and use it in GitHub Desktop.
Location case class
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
case class Location(lat: String, lon: String) | |
object Location extends DefaultJsonProtocol { | |
implicit val format = jsonFormat2(Location.apply) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment