MCPcopy Create free account
hub / github.com/ElementsProject/lightning / json_escape

Function json_escape

ccan/ccan/json_escape/json_escape.c:128–131  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

126}
127
128struct json_escape *json_escape(const tal_t *ctx, const char *str TAKES)
129{
130 return escape(ctx, str, strlen(str), false);
131}
132
133struct json_escape *json_escape_len(const tal_t *ctx, const char *str TAKES,
134 size_t len)

Callers

nothing calls this directly

Calls 1

escapeFunction · 0.85

Tested by

no test coverage detected