Kotson icon indicating copy to clipboard operation
Kotson copied to clipboard

Serializing delegates

Open rnett opened this issue 7 years ago • 0 comments

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.

rnett avatar Jul 13 '18 20:07 rnett