" in json output is html escaped
reactormonk opened this issue · 4 comments
reactormonk commented
When running criterion with --template json --output mydata.json
, the json output contains html escapes.
[{"reportAnalysis":{"anMean":{"estError":{"confIntLDX"
Stack lts 13.26
RyanGlScott commented
Good catch. For some bizarre reason, json.tpl
is using {{json}}
, which causes the contents of json
to be HTML-escaped. I think we actually want {{{json}}}
, which avoids the escaping.
Patch incoming.
RyanGlScott commented
With #220, the output of --template json
is:
[{"reportAnalysis":{"anMean":{"estError":{"confIntLDX":...
Is this to your liking, @reactormonk?
reactormonk commented
👍
RyanGlScott commented
I've uploaded criterion-1.5.6.2
to Hackage with these changes.