square brackets surrounding jmh.json contents

Eric Caspole eric.caspole at oracle.com
Tue Jul 18 21:01:12 UTC 2017


Hi Aleksey,
Do you remember why the jmh.json format results are surrounded with [ ] 
where AFAICT that is not part of JSON syntax?

This is seen in 
src/main/java/org/openjdk/jmh/results/format/JSONResultFormat.java

Thanks,
Eric

For example I got a file like:

$ more jmh.json
[
     {
         "benchmark" : "fee.fi.fo.Fum",
         "mode" : "avgt",
         "threads" : 1,

...
     }
]



More information about the jmh-dev mailing list