Skip to content
This repository has been archived by the owner on May 21, 2018. It is now read-only.

Evaluate string interpolations properly #255

Open
mnd999 opened this issue Dec 10, 2016 · 0 comments
Open

Evaluate string interpolations properly #255

mnd999 opened this issue Dec 10, 2016 · 0 comments

Comments

@mnd999
Copy link

mnd999 commented Dec 10, 2016

It should be possible to do something like this:

val q : Option[String] =  Some("badger")
json"""{"snake":${q.getOrElse("snake")}}"""

For some reason it doesn't compile.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant