It would be nice if there was a option (or if it was the default behavior) to evaluate delegates when serializing objects.
For example, val jumps by json.byInt would serialize to something like "jumps": 3.
This would extremely helpful when using a class that generated from json using the json delegates (byInt, etc). Right now, using these requires a custom serializer to be serializable properly.
It would be nice if there was a option (or if it was the default behavior) to evaluate delegates when serializing objects.
For example,
val jumps by json.byInt
would serialize to something like"jumps": 3
.This would extremely helpful when using a class that generated from json using the json delegates (byInt, etc). Right now, using these requires a custom serializer to be serializable properly.