darty_json 2.0.0
darty_json: ^2.0.0 copied to clipboard
A safe and elegant way to deal with Json data
2.0.0 #
- If a element of map of a list is not JSON serializable it'll be ignore but the subsequence elements will be added to the resulting
Json JsonandJsonPayloadequal operator override to handle comparison by instance or by value
Breaking changes #
ofType,listOfandmapOfwill wrap the element in aJsonwhen callingbuilderinstead of the raw value- When expecting a single type when raw value is heterogeneous list and maps, matching type element will remain and the rest will be discarded instead of returning empty list/map
1.0.4 #
JsonandJsonPayloadare json encodable, meaning they can be use withdarat:convert jsonEncode
1.0.3 #
- Fixed
JsonPayloadnested assignment
1.0.2 #
- Fixed
JsonPayloadnested assignment
1.0.1 #
.floatreturns a value when actual value is an integer
1.0.0 #
- Initial version.