| 19 | namespace json |
| 20 | { |
| 21 | static const char *next(const char *json, const char c = 0) |
| 22 | { |
| 23 | CE_ENSURE(NULL != json); |
| 24 | |
| 25 | if (c && c != *json) { |
| 26 | CE_FATAL("Expected '%c' got '%c'", c, *json); |
| 27 | } |
| 28 | |
| 29 | return ++json; |
| 30 | } |
| 31 | |
| 32 | static const char *skip_string(const char *json) |
| 33 | { |
no outgoing calls
no test coverage detected