Change JsonCodec.withReviver constructor to also take an toEncodable function. #14434
Labels
area-core-library
SDK core library issues (core, async, ...); use area-vm or area-web for platform specific libraries.
core-2
library-convert
P3
A lower priority bug or feature request
type-enhancement
A request for a change that isn't a bug
The current JsonCode.withReviver constructor allows constructing a JsonCodec with a different default reviver for the decoder.
Now that the encoder can also be parameterized with a function, the constructor should maybe be changed to .withDefaults that can take either or both of these functions.
The text was updated successfully, but these errors were encountered: