| 61 | |
| 62 | #ifdef HAS_CJSON |
| 63 | static int cjson_test(const acl::string& in, int count) { |
| 64 | int i; |
| 65 | |
| 66 | for (i = 0; i < count; i++) { |
| 67 | cJSON* json = cJSON_Parse(in.c_str()); |
| 68 | if (json) { |
| 69 | cJSON_Delete(json); |
| 70 | } else { |
| 71 | printf("cJSON_Parse parse error\r\n"); |
| 72 | break; |
| 73 | } |
| 74 | } |
| 75 | |
| 76 | return i; |
| 77 | } |
| 78 | #endif |
| 79 | |
| 80 | #ifdef HAS_RAPIDJSON |
no test coverage detected
searching dependent graphs…