google / json_serializable.dart

Generates utilities to aid in serializing to/from JSON.
https://pub.dev/packages/json_serializable
BSD 3-Clause "New" or "Revised" License
1.54k stars 392 forks source link

JsonKey + JsonConverter #1414

Open busslina opened 2 months ago

busslina commented 2 months ago

Can be used JsonKey and JsonConverter on the same field in order to define field name (with JsonKey) and to convert it (with JsonConverter)?

Thanks