json_serializable.dart icon indicating copy to clipboard operation
json_serializable.dart copied to clipboard

add support for case insensitive key parsing

Open romk1n opened this issue 1 year ago • 1 comments

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 :)

romk1n avatar Mar 10 '23 14:03 romk1n

Same feature request as for me.

Dynesshely avatar Feb 16 '24 18:02 Dynesshely