edvin
04/02/2017, 4:43 PMconfig field would be of a different type. That's not a big deal because of the way it's used though (`config.set`/`config.save()` etc), so we would just need to make sure we add those functions to JsonObject. The biggest issue is that JsonObject is not writable, so the set function etc would need to do a Copy On Write and create a new JsonObject. Not hard to do, but still. The config object should be of type tornadofx.Config : JsonObject, or something so we can add the appropriate save function. The Config object also needs a field for the type (COMPONENT or GLOBAL) so it knows where to save itself.