autosafe_json
Automatic safe JSON parsing for Dart/Flutter. Eliminates type mismatch errors by converting all JSON values to safe types. Includes CLI tool to transform your model classes automatically.
1.0.4
AscEmon/autosafe_json
What this package is like to depend on
Last release 9 months ago
17 Nov 2025
Too new to tell
only 2 release windows
Nearly every release is documented
notes for 5 of 5 stable releases
Nothing withdrawn
no release was ever pulled
9 months old
5 releases · first in 2025
5 releases in the last 12 months
see the full history below
Release timeline
5 releases · Nov 2025 to Nov 2025
2026
Releases
latest 5-
1.0.417 Nov 2025Release notes
Open source →- Added SafeJson.asDouble(), SafeJson.asString(), SafeJson.asInt(), SafeJson.asBool() methods for handling type mismatches
- Added SafeJson.asList() and SafeJson.asMap() methods for handling list/map mismatches
- preserve primitive types as it is
- Added SafeJson.asList() and SafeJson.asMap() methods for handling list/map mismatches
- added num type support
-
1.0.308 Nov 2025 -
1.0.207 Nov 2025Release notes
Open source →- Added SafeJson.asDouble(), SafeJson.asString(), SafeJson.asInt(), SafeJson.asBool() methods for handling type mismatches
- Added SafeJson.asList() and SafeJson.asMap() methods for handling list/map mismatches
- preserve primitive types as it is
-
1.0.106 Nov 2025Release notes
Open source →- Added test example
- SafeJson.asMap() and SafeJson.asList() methods for handling map/list mismatches
-
1.0.003 Nov 2025Release notes
Open source →- Initial release
- AutoSafe JSON extension for automatic type conversion
- CLI tool for transforming existing model classes
- Helper extensions for type conversions (parseToInt, parseToDouble, parseToBool)
- Support for nested objects and arrays
- Automatic null to empty string conversion
- List<int?>, List<double?>, List<bool?> parsing support
- Arrow function to block function conversion
- Smart base class detection (Response classes, extends, first class)