]> git.ozlabs.org Git - ccan/commit
json_out: make json_out_finished finish buffer.
authorRusty Russell <rusty@rustcorp.com.au>
Mon, 14 Sep 2020 05:30:55 +0000 (15:00 +0930)
committerRusty Russell <rusty@rustcorp.com.au>
Mon, 14 Sep 2020 05:30:55 +0000 (15:00 +0930)
commitb45a3266352be0da51c532c8dc462e67e5830877
tree6552569f7934d65a7c76b6709f7e795112fa4693
parentb97c7f0841f5173a07a2571f2c99f944d8405a90
json_out: make json_out_finished finish buffer.

For JSON RPC, we can actually write multiple JSON objects back
to back, and we don't want a comma between them.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
ccan/json_out/json_out.c
ccan/json_out/json_out.h