Skip to content

Commit 04003dc

Browse files
committed
Remove org.json lib fork and use new version of the API https://github.com/stleary/JSON-java
Issue: 105607 d844074
1 parent 53eee0d commit 04003dc

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -354,6 +354,8 @@ public void FromJSONObject(Object obj)
354354
}
355355
else
356356
{
357+
if (obj instanceof JSONObject)
358+
obj = new JSONObjectWrapper((JSONObject)obj);
357359
Iterator it = getFromJSONObjectOrderIterator(((JSONObjectWrapper)obj).keys());
358360
while(it.hasNext())
359361
{

0 commit comments

Comments
 (0)