amnaredo / test

0 stars 0 forks source link

Custom string interpolation #273

Open amnaredo opened 2 years ago

amnaredo commented 2 years ago

I saw this page in the Scala docs that explained Scala 2.10 allows for user defined string interpolation. For an example they gave a rudimentary JsonHelper string interpolator that converted something like json"{ name: $name, id: $id }" into the corresponding json object. I figured that could be a useful feature for ujson. ID: 315 Original Author: matthewsch-db