| 1731 | } |
| 1732 | |
| 1733 | bool charp_jsonfmt(struct command *cmd, struct json_stream *js, const char *fieldname, char **p) |
| 1734 | { |
| 1735 | if (!*p) |
| 1736 | return false; |
| 1737 | json_add_string(js, fieldname, *p); |
| 1738 | return true; |
| 1739 | } |
| 1740 | |
| 1741 | bool string_array_jsonfmt(struct command *cmd, struct json_stream *js, |
| 1742 | const char *fieldname, const char ***arr) |
nothing calls this directly
no test coverage detected