libjson2builtvalue 0.2.2

Dart native
Flutter Android iOS

Generates Dart built_value classes from given JSON. Based on https://github.com/charafau/json2builtvalue

example/libjson2builtvalue_example.dart

import 'package:libjson2builtvalue/libjson2builtvalue.dart';

main() {
  // 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);
}
0
likes
80
pub points
0%
popularity

Generates Dart built_value classes from given JSON. Based on https://github.com/charafau/json2builtvalue

Repository (GitHub)
View/report issues

Documentation

API reference

Uploader

ahmtcngvndrn@gmail.com

License

unknown (COPYING)

Dependencies

built_collection, code_builder, dart_style, recase, tuple

More

Packages that depend on libjson2builtvalue