70 Commits (dfc1c53a928abf669453e7c43e1858ddf708d353)

Author SHA1 Message Date
Michael Schmoock 4d765003dd rpc: adds json_add_timeiso helper 4 years ago
Rusty Russell 976c6e5c83 json_add_tok: simplify, don't try to canonicalize. 4 years ago
Rusty Russell 3ed03f9c8f common: make json_parse_input API retry friendly. 4 years ago
Rusty Russell 80b2e1e298 common: add simple json parse wrapper for the complete cases. 4 years ago
Christian Decker 957a3a01b9 json: Add helper to decode sha256 hashes 5 years ago
ZmnSCPxj jxPCSnmZ e8936f9d23 common/json.c: Check that JSMN result is well-formed. 5 years ago
Rusty Russell f77d70d546 common/json: move rest of bitcoin/lightning-specific json functions to json_helpers. 5 years ago
Rusty Russell 684ed4231f common/wireaddr: don't include lightningd/lightningd. 5 years ago
Rusty Russell 73ad9b5c0a common: avoid locale dependent strtod(3) 5 years ago
Vasil Dimov 6b7db1ea7c common: remove unused json_add_double() 5 years ago
Rusty Russell f376a9c24c common: use tabs everywhere. 5 years ago
darosior e6f56765ca common/json: add a json helper for the new errcode type 5 years ago
darosior 3510c29e5d common: move json_stream helpers to common/json 5 years ago
Vasil Dimov 55173a56b7 Use dedicated type for error codes 5 years ago
ZmnSCPxj jxPCSnmZ 44e8256338 common/json.c: Implement `json_to_u32`. 5 years ago
Christian Decker 43fb2a6ed0 json: Add helper to extract a secret from JSON 5 years ago
darosior 16f5af00c7 common/json: add a helper for json to u16 5 years ago
Rusty Russell b03369ea2d common: generalize json_tok_remove. 5 years ago
Rusty Russell 82ff580a66 json: add more efficient iterators for objects and arrays. 6 years ago
Christian Decker ed356dae62 json: Add a helper to decode a hex-encoded value from JSON 6 years ago
Rusty Russell e65b680807 json: move bitcoin/lightning specific helpers into common/json_helpers. 6 years ago
Rusty Russell 12731c4a60 json_tok_len, json_tok_contents: rename to json_tok_full_len and json_tok_full 6 years ago
Rusty Russell 465d5d5649 json: add json_to_bool() helper. 6 years ago
Rusty Russell 024b1a8d54 json: json_to_int helper. 6 years ago
Rusty Russell 22ca896b54 json: add and use a json_strdup() helper. 6 years ago
Rusty Russell adf08f8914 common/json: restore json_delve() for simple plugin parsing. 6 years ago
Rusty Russell 692d8e9685 json: simplify json_tok_copy. 6 years ago
Rusty Russell 061938068f json: rename json_tok_bitcoin_amount. 6 years ago
Rusty Russell 86c517ac9b common/json: add context arg to json_parse_input. 6 years ago
Mark Beckwith 7cd6d39276 json: add print, copy, and remove functions 6 years ago
Rusty Russell 305795b01e common/json: move JSON creation routines into lightningd/ 6 years ago
Christian Decker c3f433ec66 json: Support streaming JSON messages 6 years ago
Mark Beckwith c32f7910cc param: upgraded json_tok_label 6 years ago
Mark Beckwith 6254d15efd param: upgraded json_tok_sha256 6 years ago
Mark Beckwith 947752b9cc param: upgraded json_tok_percent 6 years ago
Mark Beckwith 8ebc95b7b0 param: upgraded json_tok_bool 6 years ago
Mark Beckwith e5918f4e5a param: upgraded json_tok_double 6 years ago
Mark Beckwith bab8ff991a param: upgraded json_tok_u64 6 years ago
Mark Beckwith 294dc06de9 param: upgraded json_tok_number 6 years ago
Mark Beckwith 8f17191099 param: upgraded json_tok_tok to advanced callback 6 years ago
Mark Beckwith 1fca7ab562 Added json_tok_sha256 (#1779) 6 years ago
Rusty Russell 5cf34d6618 Remove tal_len, use tal_count() or tal_bytelen(). 7 years ago
Rusty Russell eae9b81099 json: json_add_hex_talarr for common case of dumping a tal object in hex. 7 years ago
Mark Beckwith f850849486 Modern param style for all remaining files 7 years ago
Mark Beckwith 4d1d0438e1 Typesafe callback system for parsing json 7 years ago
Christian Decker 723b64036f jsonrpc: Pretty-print the json results 7 years ago
practicalswift 6269a4c55d Remove unused functions not covered by unit tests 7 years ago
Rusty Russell 7ae013202f json: make json_add_string do partial escapes. 7 years ago
Rusty Russell ed9093fcbd json: allow strange characters through our JSON parser. 7 years ago
Rusty Russell d92579f627 common/json_escaped: new type which explicitly notes a string is already JSON. 7 years ago