g_json 1.1.0

Dart native js
Flutter Android iOS web

g_json makes it easy to get(set will support in future) value from JSON data in dart2.

json #

json package spirit by SwiftyJSON.

Example #

import 'package:json/json.dart';

void someFunc() {

  final model = JSON.parse('{"name": "Demo", "value": 2}')

  final name = model['name'].stringValue
  // OR
  final name = model['name'].string ?? 'default_name'
}

2
likes
110
pub points
45%
popularity

g_json makes it easy to get(set will support in future) value from JSON data in dart2.

Repository (GitHub)
View/report issues

Documentation

API reference

Uploader

aoxianglele2010@gmail.com

License

unknown (LICENSE)

More

Packages that depend on g_json