diff options
author | Christian Grothoff <christian@grothoff.org> | 2017-11-06 00:03:08 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2017-11-06 00:03:08 +0100 |
commit | c5f9c0ca8872b8f2b4d23f3b53d2046e6fd53ef9 (patch) | |
tree | 21d3aa0b91178b8608039f8a91c1546f9cab9bd2 /src/include | |
parent | 2ddd4cb3306e8ce7f80118f58716a2720b00d9fa (diff) |
work on making auditor reports nicer (#4962)
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/taler_json_lib.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/include/taler_json_lib.h b/src/include/taler_json_lib.h index 248de9c45..6d019ecca 100644 --- a/src/include/taler_json_lib.h +++ b/src/include/taler_json_lib.h @@ -48,6 +48,16 @@ TALER_JSON_from_amount (const struct TALER_Amount *amount); /** + * Convert a TALER amount to a JSON object. + * + * @param amount the amount + * @return a json object describing the amount + */ +json_t * +TALER_JSON_from_amount_nbo (const struct TALER_AmountNBO *amount); + + +/** * Provide specification to parse given JSON object to an amount. * * @param name name of the amount field in the JSON |