mirror of
https://github.com/ethauvin/JSON-java.git
synced 2025-06-17 07:50:52 -07:00
Merge pull request #392 from philippgille/patch-1
Remove wrong apostrophe
This commit is contained in:
commit
fbad2d0017
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue