are there any plans to allow kotlinx.serialization...
# multiplatform
j
are there any plans to allow kotlinx.serialization to only serialize / deserialize certain fields? Jackson has something like
@JsonIgnoreProperties
, maybe a @JsonInclude and @JsonExclude would be nice or something more generic that allows field filtering when serializing / deserializing
a
Well, there is
@Transient
annotation https://github.com/Kotlin/kotlinx.serialization/blob/master/docs/examples.md#annotations You can exclude properties one by one. If that doesn't satisfies your need you can try filling feature request ticket
j
that'll work, thanks for the info!