Skip to content

Commit 285c0db

Browse files
committed
Remove org.json lib fork and use new version of the API https://github.com/stleary/JSON-java
Issue: 105607
1 parent 8187fba commit 285c0db

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

common/src/main/java/com/genexus/xml/GXXMLSerializable.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -476,7 +476,7 @@ private void collectionFromJSONArray(JSONArray jsonArray, GXSimpleCollection gxC
476476
else
477477
{
478478
if (gxColl.getElementsType() == java.math.BigDecimal.class)
479-
gxColl.addBase(DecimalUtil.stringToDec(jsonArray.getString(i)));
479+
gxColl.addBase(DecimalUtil.stringToDec(jsonArray.get(i).toString()));
480480
else
481481
gxColl.addBase(currObj);
482482
}

0 commit comments

Comments
 (0)