Skip to content

Commit a29f0ee

Browse files
authored
ToJson of a CollectionSDT was not working well y clone was used in the collection items (#317)
Issue: 38475
1 parent 3557abe commit a29f0ee

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)