You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So I have to use this hack to access the configuration
val decoder:JsonDecoder=...
var classDiscriminatorConfig:String?=nullJson(decoder.json) {
classDiscriminatorConfig = classDiscriminator // the value I want to know
}
So I would like to change the visibility of kotlinx.serialization.json.Json.configuration to public:
Hi,
I want to write a custom serializer, where I also need to access the configuration of the
Json
class . But it is marked ainternal
So I have to use this hack to access the configuration
So I would like to change the visibility of
kotlinx.serialization.json.Json.configuration
topublic
:and also
kotlinx.serialization.json.internal.JsonConf
to be topublic
(and moving to packagekotlinx.serialization.json
)The text was updated successfully, but these errors were encountered: