Last updated:
0 purchases
json to dart
JSON to Dart #
Given a JSON string, this library will generate all the necessary Dart classes to parse and generate JSON.
This library is designed to generate Flutter friendly model classes following the flutter's doc recommendation.
Caveats #
When an empty array is given, it will create a List
Equal structures are not detected yet (Equal classes are going to be created over and over).
Properties named with funky names (like "!breaks", "|breaks", etc) or keyword (like "this", "break", "class", etc) will produce syntax errors.
Array of arrays are not supported:
[[{ "isThisSupported": false }]]
copied to clipboard
[{ "thisSupported": [{ "cool": true }] }]
copied to clipboard
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.