| 411 | } |
| 412 | |
| 413 | static bool json_append_bool(char *buf, int buf_size, int *off, const char *name, bool value, |
| 414 | bool comma) { |
| 415 | return append_fmt_checked(buf, buf_size, off, "\"%s\":%s%s", name, value ? "true" : "false", |
| 416 | comma ? "," : ""); |
| 417 | } |
| 418 | |
| 419 | static bool json_append_string(char *buf, int buf_size, int *off, const char *name, |
| 420 | const char *value, bool comma) { |
no test coverage detected