json_serializable.dart
json_serializable.dart copied to clipboard
add support for case insensitive key parsing
Please add ability to parse json with case insensitive keys:
{ "key": "value"}
should result in the same model as {"Key": "value"}
and {"KEY": "value"}```.
That's especially relevant with camelcase, cause of one can write timezoneOffset
and another timeZoneOffset
:)
Same feature request as for me.