rgb-cln/ccan/ccan/json_escape
Rusty Russell 220449e1cd ccan: import ccan/json_out and ccan/json_escape.
These are generalized from our internal implementations.

The main difference is that 'struct json_escaped' is now 'struct
json_escape', so we replace that immediately.

The difference between lightningd's json-writing ringbuffer and the
more generic ccan/json_out is that the latter has a better API and
handles escaping transparently if something slips through (though
it does offer direct accessors so you can mess things up yourself!).

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2019-06-12 02:00:15 +00:00
..
test ccan: import ccan/json_out and ccan/json_escape. 2019-06-12 02:00:15 +00:00
LICENSE ccan: import ccan/json_out and ccan/json_escape. 2019-06-12 02:00:15 +00:00
_info ccan: import ccan/json_out and ccan/json_escape. 2019-06-12 02:00:15 +00:00
json_escape.c ccan: import ccan/json_out and ccan/json_escape. 2019-06-12 02:00:15 +00:00
json_escape.h ccan: import ccan/json_out and ccan/json_escape. 2019-06-12 02:00:15 +00:00