Skip to content

Instantly share code, notes, and snippets.

@dant3
Created Nov 12, 2013
Embed
What would you like to do?
Json.scala
def json(foo:String, bar:String) =
f"""{
| "commands" : [{
| "type" : "set_user_data",
| "user_data" : {
| "foo" : $foo%s,
| "bar" : $bar%s
| }
| }]
| }
""".stripMargin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment