mirror of
https://github.com/stleary/JSON-java.git
synced 2025-08-02 11:05:28 -04:00
Merge pull request #392 from philippgille/patch-1
Remove wrong apostrophe
This commit is contained in:
commit
fbad2d0017
@ -2212,7 +2212,7 @@ public class JSONObject {
|
||||
// not all Numbers may match actual JSON Numbers. i.e. fractions or Imaginary
|
||||
final String numberAsString = numberToString((Number) value);
|
||||
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")
|
||||
BigDecimal testNum = new BigDecimal(numberAsString);
|
||||
// Close enough to a JSON number that we will use it unquoted
|
||||
|
Loading…
x
Reference in New Issue
Block a user