Skip to content

Instantly share code, notes, and snippets.

@bthuillier
Created August 21, 2013 12:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bthuillier/6293946 to your computer and use it in GitHub Desktop.
Save bthuillier/6293946 to your computer and use it in GitHub Desktop.
val json = """{"key1": "value1", "key2":"value2", "key3":"value3"}"""
case class Test(key1:String, rest: Map[String, String])
val test = Test("value1", Map("key2" -> "value2", "key3" -> "value3"))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment