# json_to_dart **Repository Path**: SimpleZero/json_to_dart ## Basic Information - **Project Name**: json_to_dart - **Description**: No description available - **Primary Language**: Unknown - **License**: Unlicense - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-06-22 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # JSON to Dart [![Build Status](https://travis-ci.org/javiercbk/json_to_dart.svg?branch=master)](https://travis-ci.org/javiercbk/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](https://flutter.io/json/#serializing-json-manually-using-dartconvert). ## Caveats - When an empty array is given, it will create a List. Such weird behaviour should warn the user that there is no data to extract. - 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: ```json [[{ "isThisSupported": false }]] ``` ```json [{ "thisSupported": [{ "cool": true }] }] ```