jsoncons |
rapidjson |
nlohmann |
jsoncpp |
json_spirit |
gason |
|
---|---|---|---|---|---|---|
Expected result | 35 | 35 | 35 | 29 | 25 | 26 |
Expected success, parsing failed | 0 | 0 | 0 | 0 | 0 | 0 |
Expected failure, parsing succeeded | 0 | 0 | 0 | 6 | 10 | 9 |
Result undefined, parsing succeeded | 1 | 1 | 1 | 1 | 1 | 1 |
Result undefined, parsing failed | 0 | 0 | 0 | 0 | 0 | 0 |
Process stopped | 0 | 0 | 0 | 0 | 0 | 0 |
jsoncons |
rapidjson |
nlohmann |
jsoncpp |
json_spirit |
gason |
||
---|---|---|---|---|---|---|---|
pass1.json | [ "JSON Test Pattern pass1 ... | ||||||
pass2.json | [[[[[[[[[[[[[[[[[[["Not too de ... | ||||||
pass3.json | { "JSON Test Pattern pass3 ... | ||||||
pass_was_fail1.json | "A JSON payload should be an o ... | ||||||
fail10.json | {"Extra value after close : tr ... | ||||||
fail11.json | {"Illegal expression : 1 + 2} | ||||||
fail12.json | {"Illegal invocation : alert() ... | ||||||
fail13.json | {"Numbers cannot have leading ... | ||||||
fail14.json | {"Numbers cannot be hex : 0x14 ... | ||||||
fail15.json | ["Illegal backslash escape: \x ... | ||||||
fail16.json | [\naked] | ||||||
fail17.json | ["Illegal backslash escape: \0 ... | ||||||
fail19.json | {"Missing colon null} | ||||||
fail2.json | ["Unclosed array | ||||||
fail20.json | {"Double colon :: null} | ||||||
fail21.json | {"Comma instead of colon , nul ... | ||||||
fail22.json | ["Colon instead of comma : fal ... | ||||||
fail23.json | ["Bad value , truth] | ||||||
fail24.json | ['single quote'] | ||||||
fail25.json | [" tab character in string "] | ||||||
fail26.json | ["tab\ character\ in\ str ... | ||||||
fail27.json | ["line break"] | ||||||
fail28.json | ["line\ break"] | ||||||
fail29.json | [0e] | ||||||
fail3.json | {unquoted_key: "keys must be q ... | ||||||
fail30.json | [0e+] | ||||||
fail31.json | [0e+-1] | ||||||
fail32.json | {"Comma instead if closing bra ... | ||||||
fail33.json | ["mismatch } | ||||||
fail4.json | ["extra comma ,] | ||||||
fail5.json | ["double extra comma ,,] | ||||||
fail6.json | [ , "<-- missing value"] | ||||||
fail7.json | ["Comma after the close ], | ||||||
fail8.json | ["Extra close ]] | ||||||
fail9.json | {"Extra comma : true,} | ||||||
i_was_fail18.json | [[[[[[[[[[[[[[[[[[[["Too deep ... |