Rusty Russell
7f75043ab2
lightningd: tighten interal json_stream API.
...
Move it closer to ccan/json_out, in preparation for using that as a
replacement.
In particular:
1. Add a 'quote' field in json_add_member.
2. json_add_member now always escapes if 'quote' is true.
3. json_member_direct is exposed to allow avoiding of escaping.
4. json_add_hex can use this, so no longer needs to be in json_stream.c.
5. We don't make JSON manually, but always use helpers.
6. We now flush the stream (wake reader) only when we close it, or mark
command as pending.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au >
2019-06-12 02:00:15 +00:00
..
2019-06-12 02:00:15 +00:00
2017-10-20 18:31:32 +02:00
2019-04-03 03:06:06 +00:00
2018-09-19 13:21:21 +02:00
2019-06-12 02:00:15 +00:00
2019-01-29 04:50:01 +00:00
2019-06-07 10:34:34 +02:00
2019-06-04 01:29:39 +00:00
2018-08-23 14:46:22 +02:00
2019-06-08 02:58:27 +00:00
2019-06-08 02:58:27 +00:00
2019-06-08 02:58:27 +00:00
2019-06-04 01:29:39 +00:00
2019-06-12 02:00:15 +00:00
2019-04-09 12:37:16 -07:00
2019-06-12 02:00:15 +00:00
2018-07-25 02:13:52 +00:00
2019-06-11 23:19:11 +00:00
2019-06-11 23:19:11 +00:00
2019-04-09 12:37:16 -07:00
2019-04-09 12:37:16 -07:00
2019-04-10 23:48:39 +00:00
2019-04-10 23:48:39 +00:00
2019-06-12 02:00:15 +00:00
2019-04-12 03:32:48 +00:00
2019-05-31 17:57:10 +02:00
2019-05-31 17:57:10 +02:00
2019-06-12 02:00:15 +00:00
2019-06-12 02:00:15 +00:00
2019-06-12 02:00:15 +00:00
2019-06-12 02:00:15 +00:00
2019-06-12 02:00:15 +00:00
2019-06-12 02:00:15 +00:00
2019-06-12 02:00:15 +00:00
2019-05-22 11:28:44 +00:00
2019-06-07 01:23:51 +00:00
2018-02-07 00:46:49 +00:00
2019-06-12 02:00:15 +00:00
2019-06-07 01:23:51 +00:00
2019-06-12 02:00:15 +00:00
2019-06-12 02:00:15 +00:00
2019-02-07 20:33:50 +00:00
2019-06-07 01:23:51 +00:00
2019-06-07 01:23:51 +00:00
2019-06-08 02:58:27 +00:00
2018-04-25 14:33:38 +02:00
2019-06-12 02:00:15 +00:00
2019-06-04 01:29:39 +00:00
2019-06-12 02:00:15 +00:00
2018-11-13 00:44:50 +01:00
2019-06-12 02:00:15 +00:00
2019-01-23 22:08:08 +01:00
2019-06-12 02:00:15 +00:00
2019-06-04 01:29:39 +00:00
2019-06-12 02:00:15 +00:00
2019-04-12 03:32:48 +00:00
2019-06-12 02:00:15 +00:00
2018-09-14 22:11:23 +02:00
2019-05-31 18:36:38 +02:00
2019-04-23 15:26:42 +02:00
2019-06-12 02:00:15 +00:00
2019-05-31 18:36:38 +02:00
2019-06-04 01:29:39 +00:00
2019-06-04 01:29:39 +00:00
2019-05-27 13:29:32 +02:00
2018-08-21 00:48:02 +02:00