safe_json_decode 1.2.0
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
topicsto pubspec.yaml for discoverability - Replace deprecated named
library safe_json;with unnamedlibrary; - Document chunked conversion limitation on
SafeJsonDecoder - Add test for FormatException on invalid JSON input
1.0.0 #
- Initial release
safeJsonDecode()— drop-in replacement forjsonDecodewith int→double conversionSafeJsonCodec— codec variant for streaming/integration use casesSafeJsonDecoder— converter variant