Open ricanontherun opened 3 years ago
Interesting. The chevron tool understands JSON as a data input format, but I don't believe there's any JSON support for output. I think it's all just text really other than the HTML escaping functionality.
The way I see it, input (true|false booleans) should not be transformed into something else (True|False booleans) on output. If you agree, and are looking for some help ... I'd be willing contribute a patch for this. Let me know!
I think the only way to do that reliably in something like Mustache is to do those imports as strings instead of booleans.
Given the follow template and data file:
template.mustache
data.json
I receive the following output:
In my opinion, this should not work this way, booleans should be rendered in supported JSON format (true|false)