I have a csv file that I'm parsing to JSON and then sending to Mustache.js. The problem is that some of the variable names are not well formed, so I end up with objects that may look like this:
{
'Num.': '1234',
'Pass-through': 'yes'
}
So how would I use those variables in a Mustache template? I've tried a couple of different approaches.
<td>{{ Num. }}</td>
<td>{{ 'Num.' }}</td>
<td>{{ ['Num.'] }}</td>
But none of them work (I'd be more surprised if they did), and can't find anything in the documentation on how to escape a variable name.