From c5f9c0ca8872b8f2b4d23f3b53d2046e6fd53ef9 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Mon, 6 Nov 2017 00:03:08 +0100 Subject: work on making auditor reports nicer (#4962) --- src/include/taler_json_lib.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'src/include/taler_json_lib.h') 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 @@ -47,6 +47,16 @@ json_t * 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. * -- cgit v1.2.3