PackageTrack
Sign in Get early access

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
Release Pre-release

Releases

latest 5
  1. 1.0.4 17 Nov 2025
    Release notes
    • 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
    Open source →
  2. 1.0.3 08 Nov 2025
    Release notes
    • Update Example and Readme file
    • Update CHANGELOG file
    Open source →
  3. 1.0.2 07 Nov 2025
    Release notes
    • 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
    Open source →
  4. 1.0.1 06 Nov 2025
    Release notes
    • Added test example
    • SafeJson.asMap() and SafeJson.asList() methods for handling map/list mismatches
    Open source →
  5. 1.0.0 03 Nov 2025
    Release notes
    • 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)
    Open source →

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive