A quick silly question, subjecting kotlinx.seriali...
# announcements
o
A quick silly question, subjecting kotlinx.serialization: is it recommended to create one Json() instance and inject it throughout your project or create a new one on every use?
d
#C7A1U5PTM next time. I recommended creating one
SerialModule
and injecting it throughout your project. The same may apply to
JsonConfiguration
and
Json
depending on your project. If you have to ask, then create a global instance.