javiercbk / Json_to_dart
Licence: unlicense
Library that generates dart classes from json strings
Stars: ✭ 836
Programming Languages
dart
5743 projects
Projects that are alternatives of or similar to Json to dart
Portabletext
Portable Text is a JSON based rich text specification for modern content editing platforms.
Stars: ✭ 759 (-9.21%)
Mutual labels: json
Himotoki
A type-safe JSON decoding library purely written in Swift
Stars: ✭ 786 (-5.98%)
Mutual labels: json
Telize
High performance JSON IP and GeoIP REST API (IP Geolocation)
Stars: ✭ 774 (-7.42%)
Mutual labels: json
Rss Parser
A lightweight RSS parser, for Node and the browser
Stars: ✭ 793 (-5.14%)
Mutual labels: json
Yaml.js
Standalone JavaScript YAML 1.2 Parser & Encoder. Works under node.js and all major browsers. Also brings command line YAML/JSON conversion tools.
Stars: ✭ 810 (-3.11%)
Mutual labels: json
Ason
[DEPRECATED]: Prefer Moshi, Jackson, Gson, or LoganSquare
Stars: ✭ 777 (-7.06%)
Mutual labels: json
Jsonlite
A simple, self-contained, serverless, zero-configuration, json document store.
Stars: ✭ 819 (-2.03%)
Mutual labels: json
Dasel
Query, update and convert data structures from the command line. Comparable to jq/yq but supports JSON, TOML, YAML, XML and CSV with zero runtime dependencies.
Stars: ✭ 759 (-9.21%)
Mutual labels: json
Winterfell
Generate complex, validated and extendable JSON-based forms in React.
Stars: ✭ 787 (-5.86%)
Mutual labels: json
Jackson Module Kotlin
Module that adds support for serialization/deserialization of Kotlin (http://kotlinlang.org) classes and data classes.
Stars: ✭ 830 (-0.72%)
Mutual labels: json
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. 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:
[[{ "isThisSupported": false }]]
[{ "thisSupported": [{ "cool": true }] }]
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].