
20 Aug
2010
20 Aug
'10
6:28 p.m.
Hi, I've just uploaded a new version of text-json-qq, the json quasiquoter. Now it's possible (thanks to haskell-src-meta) to insert Haskell code inside the qq-code:
myCode = [$jsonQQ| {age: <| age + 34 :: Integer |>, name: <| map toUpper name |>} |] where age = 34 :: Integer name = "Pelle"
For further info read the documentation at http://hackage.haskell.org/package/text-json-qq or read/fork the source code at http://github.com/finnsson/text-json-qq -- Oscar