#
56bc7cf3 |
| 05-Jun-2023 |
claudio <claudio@openbsd.org> |
Sync json.c with rpki-client rev 1.3: Add an extra argument compact to json_do_object() to instruct the parser to dump this object on a single line.
While one can select on an object to object basis
Sync json.c with rpki-client rev 1.3: Add an extra argument compact to json_do_object() to instruct the parser to dump this object on a single line.
While one can select on an object to object basis for arrays the compact setting is inherited from the surrounding object.
OK tb@
show more ...
|
#
a32a1b0f |
| 05-May-2023 |
claudio <claudio@openbsd.org> |
Sync json.c with the one from rpki-client. This adds json_do_string(). Convert json_do_printf() calls using static strings or "%s" fmt over to json_do_string() in the json output. OK tb@
|
#
db68842d |
| 26-Apr-2023 |
claudio <claudio@openbsd.org> |
Verify each fprintf call for success. On failure stop calling fprintf and return -1 in json_do_finish(). tb@ thinks this is not to horrible
|
#
644f9c42 |
| 26-Apr-2023 |
claudio <claudio@openbsd.org> |
Use fprintf instead of printf and pass the FILE handle in json_do_start(). OK tb@
|
#
0c7a5c38 |
| 31-Aug-2022 |
claudio <claudio@openbsd.org> |
Add missing OpenBSD id comment
|
#
d703cf4c |
| 21-Oct-2020 |
claudio <claudio@openbsd.org> |
No need to include sys/cdefs.h here
|
#
df3045ca |
| 04-May-2020 |
claudio <claudio@openbsd.org> |
Using int64_t together with printf %llu is not portable. Either add a cast in the printf to unsigned long long or just use unsigned long long from the start. In this case it is better to switch the t
Using int64_t together with printf %llu is not portable. Either add a cast in the printf to unsigned long long or just use unsigned long long from the start. In this case it is better to switch the type. Similar changes had been done before. OK deraadt@
show more ...
|
#
14178ff0 |
| 02-May-2020 |
claudio <claudio@openbsd.org> |
Add support to output data in JSON. This is still work in progress and the output structures may still change but it should be a good starting point for poeple to start playing with it. OK benno@, jo
Add support to output data in JSON. This is still work in progress and the output structures may still change but it should be a good starting point for poeple to start playing with it. OK benno@, job@, deraadt@
show more ...
|