Skip to content

Commit 2e2504b

Browse files
committed
ToJson of a CollectionSDT was not working well y clone was used in the collection items
Issue: 38475
1 parent 8b98bcb commit 2e2504b

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
@@ -297,7 +297,7 @@ public Object GetJSONObject(boolean includeState)
297297
}
298298
public Object GetJSONObject(boolean includeState, boolean includeNoInitialized)
299299
{
300-
jsonObj.clear();
300+
jsonObj = new JSONObject();
301301
tojson(includeState, includeNoInitialized);
302302
if (isArrayObject)
303303
{

0 commit comments

Comments
 (0)