Kantis / ks3

KotlinX Serialization Standard Serializers (KS3)
Apache License 2.0
20 stars 4 forks source link

Adding LenientJsonArraySerializer #103

Closed Kantis closed 9 months ago

Kantis commented 10 months ago

Fixes #9

Not sure if there was something new in KxS 1.6 that made this possible, or if I just ended up trying something different.. but it seems to work 🎉

aSemy commented 10 months ago

Nice!

Kantis commented 10 months ago

what do you feel about the name?

  1. resilientListSerializer what I came up with when trying this out again
  2. listSerializerIgnoringInvalidItems seen in the issue

I'm kind of in favor of no 2.

aSemy commented 9 months ago

Yeah, any of those names is fine. Personally I'd go with LenientJsonArraySerializer. I'll leave it up to you :)

Kantis commented 9 months ago

Thanks, that's a great suggestion :) I'll go with that