1
0
Fork 0
mirror of https://github.com/ethauvin/JSON-java.git synced 2025-06-17 07:50:52 -07:00

Remove wrong apostrophe

This commit is contained in:
Philipp Gillé 2018-01-17 18:41:48 +01:00 committed by GitHub
parent ca45b02ffc
commit 15719886f7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2212,7 +2212,7 @@ public class JSONObject {
// not all Numbers may match actual JSON Numbers. i.e. fractions or Imaginary // not all Numbers may match actual JSON Numbers. i.e. fractions or Imaginary
final String numberAsString = numberToString((Number) value); final String numberAsString = numberToString((Number) value);
try { try {
// Use the BigDecimal constructor for it's parser to validate the format. // Use the BigDecimal constructor for its parser to validate the format.
@SuppressWarnings("unused") @SuppressWarnings("unused")
BigDecimal testNum = new BigDecimal(numberAsString); BigDecimal testNum = new BigDecimal(numberAsString);
// Close enough to a JSON number that we will use it unquoted // Close enough to a JSON number that we will use it unquoted