| 373 | } |
| 374 | |
| 375 | static bool json_append_bool(char *buf, int buf_size, int *off, const char *name, bool value, |
| 376 | bool comma) { |
| 377 | return append_fmt_checked(buf, buf_size, off, "\"%s\":%s%s", name, value ? "true" : "false", |
| 378 | comma ? "," : ""); |
| 379 | } |
| 380 | |
| 381 | static bool json_append_string(char *buf, int buf_size, int *off, const char *name, |
| 382 | const char *value, bool comma) { |
no test coverage detected