| 363 | } |
| 364 | |
| 365 | static bool json_append_bool(char *buf, int buf_size, int *off, const char *name, bool value, |
| 366 | bool comma) { |
| 367 | return append_fmt_checked(buf, buf_size, off, "\"%s\":%s%s", name, value ? "true" : "false", |
| 368 | comma ? "," : ""); |
| 369 | } |
| 370 | |
| 371 | static bool json_append_string(char *buf, int buf_size, int *off, const char *name, |
| 372 | const char *value, bool comma) { |
no test coverage detected