From 44d7f7a6227b49f1c92367a0798ce4f1fb5a1d10 Mon Sep 17 00:00:00 2001 From: Stanislav Bogatyrev Date: Mon, 19 Oct 2020 09:32:00 +0300 Subject: [PATCH] [#73] Add JSON field names to accounting package Signed-off-by: Stanislav Bogatyrev --- accounting/types.proto | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/accounting/types.proto b/accounting/types.proto index e681cd1..cc4fbf6 100644 --- a/accounting/types.proto +++ b/accounting/types.proto @@ -14,9 +14,9 @@ option csharp_namespace = "NeoFS.API.v2.Accounting"; // description. message Decimal { // Number in smallest Token fractions. - int64 value = 1; + int64 value = 1 [json_name = "value"]; // Precision value indicating how many smallest fractions can be in one // integer. - uint32 precision = 2; + uint32 precision = 2 [json_name = "precision"]; }