Java2Flash object serialization fix

This commit is contained in:
Michael Wain 2025-01-05 04:56:17 +03:00
parent ad70af4279
commit 859938143e

View File

@ -65,6 +65,7 @@ public class Java2Flash {
break;
case "HashMap":
HashMap<String, Object> s = (HashMap<String, Object>) m.get(key);
this.actions.add(new ActionPush(Collections.singletonList(fromString(key))));
parseHashMapMember(s);
this.actions.add(new ActionPush(Collections.singletonList(new IntegerItem(s.keySet().size()))));
this.actions.add(new ActionInitObject());