A proposal for resolving the loading problem of json files
[Mograsim.git] / net.mograsim.logic.model / src / net / mograsim / logic / model / serializing / ViewModelSerializer.java
index 38bdf9c..b6c2879 100644 (file)
@@ -158,7 +158,7 @@ public class ViewModelSerializer
                        } else
                        {
                                compParams.id = idGetter.componentIDs.apply(component);
-                               compParams.params = component.getParamsForSerializing(idGetter);
+                               compParams.params = component.getParamsForSerializingJSON(idGetter);
                        }
                        compParams.name = component.name;
                }