moleike / haskell-jsonnet

🎏 Haskell implementation of Jsonnet

Home Page:https://hackage.haskell.org/package/jsonnet

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

add verbatim strings (@"...")

moleike opened this issue · comments

verbatim strings eschew all of the normal string escaping.

std.assertEqual(@"c:\negative""", 'c:\\negative"')

Verbatim strings start with an @ and can be enclosed in both single and double-quotes. More details on the spec: https://jsonnet.org/ref/spec.html

Depends on #7