Reputation: 8360
I am using org.json.simple.parser JSON Parser. One specific data contained very large numbers. For example it once failed while parsing a line with this error
java.lang.NumberFormatException: For input string: "982134839798321390034432432"
Clearly it should be parsed with BigInt data type. Or there should be an option to treat these just as strings. What can be done in this case?
Upvotes: 0
Views: 626
Reputation: 15464
This is a known issue in "json-simple", see https://github.com/fangyidong/json-simple/issues/73
You need to either:
Upvotes: 1