madeso / json

A JSON parser for files written by humans
zlib License
0 stars 0 forks source link

Support json template literals (without templates) #22

Open madeso opened 5 years ago

madeso commented 5 years ago

Let strings contain multiple lines.

Template literals are enclosed by the back-tick ( ` ) (grave accent) character instead of double or single quotes.

`string text`

`string text line 1
 string text line 2`

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals

Such a feature would aid in writing code in a json file.

madeso commented 4 years ago