53 Commits (c38afc55120a7f89efe25cfac319ce9886336916)

Author SHA1 Message Date
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 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) 7 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
practicalswift 98f49c0837 Remove include in file foo.c that is already included in foo.h 7 years ago
ZmnSCPxj e1284b1df1 common/json: Add json_add_double. 7 years ago
Rusty Russell 8be1c1df32 Updates for changed external/jsmn API change. 7 years ago
Rusty Russell 91a22dc496 jsonprc: make json_get_params() fail the command, for better error reporting. 7 years ago
Rusty Russell 47577e5c4e jsonrpc: check that arguments to calls are valid. 7 years ago
Rusty Russell 7f03e15e03 json_add_string_escape: for escaping internally-generated strings. 7 years ago
ZmnSCPxj 8c527f3931 common/json: Implement json_add_snum for signed numbers. 7 years ago
Björge Dijkstra 2f4ba73c77 Allocate hex buffer on heap since it can be very large. 7 years ago
Rusty Russell 6b740e78bd json: more sanity checks on JSON output. 7 years ago
Björge Dijkstra 82a2d2f0a6 Fix parsing of txout value. Force decimal base. 7 years ago
Rusty Russell 86e1a61165 json: fix json_tok_bitcoin_amount() 7 years ago
practicalswift aae991f28d Add missing call to va_end() 7 years ago
Rusty Russell ed2158c334 Revert "Functions for encoding reversed hex" 7 years ago
Andrew Chow 19116b6561 Functions for encoding reversed hex 7 years ago
practicalswift 61c47c09d0 Fix typos 7 years ago
Rusty Russell 5502a19d1e json: reject incoming JSON which has any unusual characters in tokens. 7 years ago
Rusty Russell 8f17effeeb json: just blatt weird characters in string. 7 years ago