struct json_escape *json_partial_escape(const tal_t *ctx,
const char *str TAKES);
-/* Extract a JSON-escaped string. */
+/* Do we need to escape this str? */
+bool json_escape_needed(const char *str, size_t len);
/* Are two escape json strings identical? */
bool json_escape_eq(const struct json_escape *a,