strict_json 2.4.0
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
andgetJsonOr
renamed togetJsonList
andgetJsonListOr
respectively - Added new methods
getJson
andgetJsonOr
- Methods
- 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