Leonid Startsev
Leonid Startsev
I think default polymorphic serializers for collections were removed in 1.0.0 because it is kinda a weird request to serialize lists polymorphically (because it has many different implementation classes, yes)....
@jannehof Just copy `subclass(List::class, ListSerializer(PolymorphicSerializer(Any::class).nullable))` and replace `List::class` with `ArrayList::class`
Side note: trailing commas and unquoted literals are now somewhat supported by `isLenient = true` setting
I don't think we'll embed JSON5 standard into our implementation. Current policy for format requests is 'write your own 3rd party lib with dependency on the core'
Do you have any special requirement to convert your input to `JsonElement` and only after that to a Kotlin class? If not, then you can skip `JsonElement` step and parse...
There's no built-in way to do so, but you can write a custom serializer that uses getters and setters of the delegates. Maybe we can implement `@SerializeByGetterAndSetter` annotation
@wakaztahir Can you please provide an example of serializable class with delegates that can be used with Jetpack Compose? I'm investigating the issue and so far it seems that delegates...
@wakaztahir We have this in plans, but no particular timeframe
No, it's not being developed at the moment
Why do you need `@Polymorphic` on `val items` at all? Sealed classes should be polymorphic automatically.