From 37f1102efdb80cc228877d5d8badcf66f95d898a Mon Sep 17 00:00:00 2001 From: Aaron Svendsen Date: Tue, 7 Feb 2023 15:05:37 +0000 Subject: [PATCH 1/2] Changed Big Decimal to String --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index e69cc7d..3b6edf1 100644 --- a/README.md +++ b/README.md @@ -142,7 +142,7 @@ The field should be formatted based on the below table. | Long | number | | Short | number | | BigInteger | number | -| BigDecimal | number | +| BigDecimal | string | | ByteArray | string: Encoded with Base64 encoding if applicable | | Boolean | "true" or "false" | | Date | string: ISO Date with format "2023-12-03" | @@ -155,6 +155,7 @@ The field should be formatted based on the below table. - The contents of Map, List, and Struct data-types can be any format. - Date and Datetime must be ISO 8061 compliant. - Datetime objects do not need to include the full precision; "2011-12-03T10:15:30", "2011-12-03T10:15:00Z" are acceptable. +- Big Decimal is returned as a string in order to avoid lose of precision. ## SDK Interfaces From 82e864cb5b3d2bf11425511c577432c53368e6e0 Mon Sep 17 00:00:00 2001 From: Aaron Svendsen Date: Tue, 7 Feb 2023 17:35:35 +0000 Subject: [PATCH 2/2] Fixed Readme --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 3b6edf1..c436641 100644 --- a/README.md +++ b/README.md @@ -155,7 +155,7 @@ The field should be formatted based on the below table. - The contents of Map, List, and Struct data-types can be any format. - Date and Datetime must be ISO 8061 compliant. - Datetime objects do not need to include the full precision; "2011-12-03T10:15:30", "2011-12-03T10:15:00Z" are acceptable. -- Big Decimal is returned as a string in order to avoid lose of precision. +- Big Decimal is returned as a string in order to avoid loss of precision. ## SDK Interfaces