json_son 0.1.22
json_son: ^0.1.22 copied to clipboard
A Dart utility package providing helper functions to flexibly parse JSON values that might have inconsistent data types (e.g., strings to numbers, strings/numbers to booleans).
0.1.22 #
- Added
flexibleMapFromJsonandflexibleMapNotNullFromJsonfunctions for flexible map transformations
0.1.21 #
- Added comprehensive tests for
flexibleListFromJsonandflexibleListNotNullFromJson
0.1.20 #
- Added comprehensive tests for
flexibleLowerStringFromJsonandflexibleUpperStringFromJson
0.1.19 #
- Added comprehensive tests for
flexibleTrimmedStringFromJson
0.1.18 #
- Added comprehensive tests for
flexibleUriFromJson - Fixed test expectations for
flexibleUriFromJsonto match actual behavior
0.1.17 #
- Added comprehensive tests for
flexibleDateTimeFromJson
0.1.16 #
- Added comprehensive tests for
flexibleNumFromJson
0.1.15 #
- Added comprehensive tests for
flexibleStringFromJson
0.1.14 #
- Added comprehensive tests for
flexibleBoolFromJson
0.1.13 #
- Added comprehensive tests for
flexibleDoubleFromJson
0.1.12 #
- Added comprehensive tests for
flexibleIntFromJson
0.1.11 #
- Ran dart format on the codebase
- Code formatting and documentation improvements across the codebase
- Removed unnecessary TODOs and improved code comments
- Enhanced code style consistency in method parameters and documentation
0.1.10 #
- Removed unused import.
0.1.9 #
- Renamed package to Just Straightens Out Nonsense (JSON) and to keep it short, made it json_son.
0.1.8 #
- Added
flexibleUpperStringFromJsonfor converting strings to uppercase after trimming.
0.1.7 #
- Added
flexibleLowerStringFromJsonfor converting strings to lowercase after trimming.
0.1.6 #
- Added
flexibleTrimmedStringFromJsonfor trimming whitespace and converting empty strings to null.
0.1.5 #
- Added
flexibleCommaSeparatedListFromJsonfor parsing comma-separated strings intoList<String>?.
0.1.4 #
- Added
flexibleListNotNullFromJsonfor guaranteeing a non-null list, even if the API returns null or a single item. Returns an empty list for null inputs.
0.1.3 #
- Added
flexibleListFromJsonfor handling APIs that may return a single item instead of a list, or for parsing list items with a flexible item parser.
0.1.2 #
- Updated flexible JSON decoder functions:
flexibleNumFromJsonflexibleDateTimeFromJsonflexibleUriFromJson
0.1.1 #
- Initial release.
- Added flexible JSON decoder functions:
flexibleIntFromJsonflexibleDoubleFromJsonflexibleBoolFromJsonflexibleStringFromJson- Basic package setup including
pubspec.yaml,README.md, andLICENSE.
0.1.0 #
- Initial version.