60 Commits (9984c34f14ede94cb40c159874fbe1eda3a5c772)

Author SHA1 Message Date
Rusty Russell 3b7d0e7a62 common/json: make json_scan return an error string. 4 years ago
Rusty Russell fd7d1a1cc0 common: remove now-unused json_delve. 4 years ago
Rusty Russell 553daf17e0 common/json: new helper to scan JSON: json_scan. 4 years ago
Rusty Russell 24b6132ee8 common: add length-limited versions of json_streq and json_get_member. 4 years ago
Rusty Russell 4c4288e3e5 invoice: handle bolt12 strings if EXPERIMENTAL_FEATURES. 4 years ago
Rusty Russell c29e290ee6 common/json: json_add_stringn helper. 4 years ago
Rusty Russell d9586bbde1 json: add json_tok_endswith and json_tok_startswith helpers. 4 years ago
Michael Schmoock 4d765003dd rpc: adds json_add_timeiso helper 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
Rusty Russell f77d70d546 common/json: move rest of bitcoin/lightning-specific json functions to json_helpers. 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. 6 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 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
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) 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
practicalswift 6269a4c55d Remove unused functions not covered by unit tests 7 years ago
Rusty Russell dfce8b5efd common/json: move declaration into correct header. 7 years ago
Rusty Russell 7ae013202f json: make json_add_string do partial escapes. 7 years ago
Rusty Russell d92579f627 common/json_escaped: new type which explicitly notes a string is already JSON. 7 years ago