gildor
08/18/2020, 7:57 AMkotlinx-serialization-core
is not format agnostic? All other formats were moved to own dependencies except Json and it’s never was clear for me why, so now it’s impossible to replace bundled Jsom implementation with own version, they will always available side by side, or if json is not used at all. I understand it’s not a big deal in terms of bytecode, it more about API surface, even if it 95% cases used only as json, why not just create dependency for it: kotlinx-serialization-json
It’s rc already, probably too late, but maybe keep kotlinx-serialization-core
and reintroduce something like kotlinx-serialization
or again runtime
which would include only annotations and basic utilities, no formatsVsevolod Tolstopyatov [JB]
08/19/2020, 11:25 AMgildor
08/19/2020, 1:33 PMserialization core API by itself is not very useful for application developersIt’s true, but having format which is not used in the app/library even less useful
gildor
08/19/2020, 2:01 PM