libjson2builtvalue 0.2.0 libjson2builtvalue: ^0.2.0 copied to clipboard
Generates Dart built_value classes from given JSON. Based on https://github.com/charafau/json2builtvalue
Library for generating Dart built_value classes from given JSON.
Extracted from charafau's json2builtvalue
Usage #
A simple usage example:
// Initialize Parser
var parser = Parser();
// Sample JSON data
var json = """{
"userId": 1,
"id": 1,
"title": "delectus aut autem",
"completed": false
}""";
// Parse JSON with root class name.
var parsed = parser.parse(json, 'todo');
print(parsed);
Features and bugs #
Please file feature requests and bugs at the issue tracker.