#include "trace.hpp" #include "parser.hpp" #include int main() { std::string chars = "{}[],x01: "; std::mt19937 rand( 1 ); for ( int i = 0; i < vg_select( 10000, 1000 ); ++i ) { std::string s; for ( int i = 0; i < 8; ++i ) s += chars[ rand() % chars.size() ]; EXCEPT( json_error, json_parse( s ), "s =", s ); } }