safe_json_decode 1.2.0 copy "safe_json_decode: ^1.2.0" to clipboard
safe_json_decode: ^1.2.0 copied to clipboard

A drop-in replacement for jsonDecode that converts all JSON integers to doubles, preventing the common TypeError in Flutter apps.

1.2.0 #

  • Add README.md with problem description, API docs, and language comparison table
  • Add example/safe_json_example.dart for pub.dev scoring
  • Add topics to pubspec.yaml for discoverability
  • Replace deprecated named library safe_json; with unnamed library;
  • Document chunked conversion limitation on SafeJsonDecoder
  • Add test for FormatException on invalid JSON input

1.0.0 #

  • Initial release
  • safeJsonDecode() — drop-in replacement for jsonDecode with int→double conversion
  • SafeJsonCodec — codec variant for streaming/integration use cases
  • SafeJsonDecoder — converter variant
0
likes
150
points
92
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

A drop-in replacement for jsonDecode that converts all JSON integers to doubles, preventing the common TypeError in Flutter apps.

Repository (GitHub)
View/report issues

Topics

#json #serialization #type-safety

License

BSD-3-Clause (license)

More

Packages that depend on safe_json_decode