| 116 | using jt::Json; |
| 117 | |
| 118 | static int jtjson_test(const acl::string& data, int count) { |
| 119 | int i; |
| 120 | for (i = 0; i < count; i++) { |
| 121 | std::pair<Json::Status, Json> res = Json::parse(data.c_str()); |
| 122 | if (res.first != Json::success) { |
| 123 | break; |
| 124 | } |
| 125 | } |
| 126 | return i; |
| 127 | } |
| 128 | #endif |
| 129 | |
| 130 | static int acl_cppjson_test(const acl::string& data, int count) { |