JsonDecoder and JsonCodec classes need more detail on how they handle numbers #46682
Labels
area-core-library
SDK core library issues (core, async, ...); use area-vm or area-web for platform specific libraries.
library-convert
type-documentation
A request to add or improve documentation
JSON and Dart-for-web do not distinguish between integers and doubles, but the Dart VM does. The JsonDecoder and JsonCodec API docs should explain how this is bridged (e.g. do all numbers become
double
s?).The text was updated successfully, but these errors were encountered: