Java 包含指数的数值在JSON到离子转换中的精度损失

Java 包含指数的数值在JSON到离子转换中的精度损失,java,json,amazon-ion,Java,Json,Amazon Ion,根据,以下是将JSON中的数值转换为ION的规则: 1. Numeric values without a decimal point are interpreted as Ion integers 2. Numeric values with a decimal point but without an exponent are interpreted as Ion decimals 3. Numeric values with exponents are interpreted as Ion

根据,以下是将JSON中的数值转换为ION的规则:

1. Numeric values without a decimal point are interpreted as Ion integers
2. Numeric values with a decimal point but without an exponent are interpreted as Ion decimals
3. Numeric values with exponents are interpreted as Ion floats
为什么带指数的数值转换为浮点值?是否遵循了某些规范

我正在将包含指数的JSON记录转换为离子记录。在这种情况下,如何保持精度?我正在使用图书馆

String payload=“{\'abc\':\'aa\',\'xyz\':1232323232320003434234222223333333333333333311111112321234e-49}”;
最终离子值=离子单值(有效载荷);
System.out.println(值);//{abc:“aa”,xyz:1.23200034E14}