practicalswift
|
7e9750ffee
|
Reduce variable scopes
|
2018-03-26 01:31:21 +00:00 |
|
Rusty Russell
|
7ae013202f
|
json: make json_add_string do partial escapes.
This is useful when we log a JSON-escaped string, so we don't double-escape.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
|
2018-03-26 00:20:53 +00:00 |
|
Rusty Russell
|
d92579f627
|
common/json_escaped: new type which explicitly notes a string is already JSON.
Trivial to use as a string, but it still means you should be careful
around it.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
|
2018-03-26 00:20:53 +00:00 |
|
Rusty Russell
|
7f03e15e03
|
json_add_string_escape: for escaping internally-generated strings.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
|
2018-02-02 00:05:00 +01:00 |
|
Björge Dijkstra
|
648e4feee2
|
Extend json unit test with tests for json_tok_bitcoin_amount()
|
2018-01-13 00:15:03 +01:00 |
|
Rusty Russell
|
112ae0d0f5
|
common/test/run-json: test JSON escaping.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
|
2017-11-01 09:46:05 +01:00 |
|