diff options
author | Florian Dold <florian@dold.me> | 2022-01-27 20:25:40 +0100 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2022-01-27 20:25:40 +0100 |
commit | e6e0cabf084ca4a333718b953bc0b48ac12e7356 (patch) | |
tree | c39e33b10046ecae33bec6e47537eb43f452e464 /src/include | |
parent | 32f1276b8c9cdc65f6873b8dc8d86240f25c8907 (diff) |
test and hopefully fix JSON canonicalization
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/taler_json_lib.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/include/taler_json_lib.h b/src/include/taler_json_lib.h index 2a101d269..51ebe6d90 100644 --- a/src/include/taler_json_lib.h +++ b/src/include/taler_json_lib.h @@ -563,6 +563,12 @@ enum GNUNET_GenericReturnValue TALER_JSON_parse_agemask (const json_t *root, struct TALER_AgeMask *mask); +/** + * Canonicalize a JSON input to a string according to RFC 8785. + */ +char * +TALER_JSON_canonicalize (const json_t *input); + #endif /* TALER_JSON_LIB_H_ */ /* End of taler_json_lib.h */ |