| 36 | } |
| 37 | |
| 38 | static void parse2(const char* s) |
| 39 | { |
| 40 | acl::json json; |
| 41 | json.update(s); |
| 42 | |
| 43 | if (json.finish() && json.to_string() == s) { |
| 44 | printf("parse |%s||%s| ok\r\n", s, json.to_string().c_str()); |
| 45 | } else { |
| 46 | printf("parse |%s| error\r\n", s); |
| 47 | } |
| 48 | } |
| 49 | |
| 50 | static void test(void) |
| 51 | { |