strict_json 2.4.0 copy "strict_json: ^2.4.0" to clipboard
strict_json: ^2.4.0 copied to clipboard

The package allows you to work with dynamic data in a strict form.

2.4.0

  • When jsonObject is null asMap/asList methods with default value not throw error
  • Added default value parameter for convertJsonMap/convertJsonList methods
  • Added castOr method. Added default value parameter for cast method

2.3.0 Refactor error handling

2.2.1 Fix onError inheritance

2.2.0 Add custom onError handler

2.1.0

  • Breaking change
    • Methods getJson and getJsonOr renamed to getJsonList and getJsonListOr respectively
    • Added new methods getJson and getJsonOr
  • Update example

2.0.6 Fix

2.0.5 Refactor convertEach method

2.0.4 Fix some bugs

2.0.3 Fix some bugs

2.0.2 Fix some bugs Add some api Add some tests

2.0.1 Fix bug

2.0.0 Migrate to null-safety Add some tests Fix bugs

1.1.0 refactor api

1.0.0 Initial version

2
likes
150
points
4.98k
downloads

Publisher

unverified uploader

Weekly Downloads

The package allows you to work with dynamic data in a strict form.

Repository (GitHub)

Documentation

API reference

License

MIT (license)

More

Packages that depend on strict_json