Browse Source

change repeated BigDecimal to BigInteger

pull/584/head
Alanscut 5 years ago
parent
commit
ca1ac4bf85
  1. 4
      json-path/src/main/java/com/jayway/jsonpath/spi/json/JacksonJsonNodeJsonProvider.java

4
json-path/src/main/java/com/jayway/jsonpath/spi/json/JacksonJsonNodeJsonProvider.java

@ -101,8 +101,8 @@ public class JacksonJsonNodeJsonProvider extends AbstractJsonProvider {
return e.asInt(); return e.asInt();
} else if (e.isLong()) { } else if (e.isLong()) {
return e.asLong(); return e.asLong();
} else if (e.isBigDecimal()) { } else if (e.isBigInteger()) {
return e.decimalValue(); return e.bigIntegerValue();
} else if (e.isDouble()) { } else if (e.isDouble()) {
return e.doubleValue(); return e.doubleValue();
} else if (e.isFloat()) { } else if (e.isFloat()) {

Loading…
Cancel
Save