aissat / easy_localization

Easy and Fast internationalizing your Flutter Apps
https://pub.dev/packages/easy_localization
MIT License
881 stars 312 forks source link

support Json List #686

Open levinyu-TagBy opened 4 weeks ago

levinyu-TagBy commented 4 weeks ago

Easy localization can only recognize json files with a json map structure.

However, not all json files have a map structure.

Modified to recognize json file of json list type.

If the row of the json list is a json map, the first key of the map's key iterator is used to store the row as a key and value in the json map.

thanks.