在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:chrisbu/dartwatch-JsonObject开源软件地址:https://github.com/chrisbu/dartwatch-JsonObject开源编程语言:Dart 100.0%开源软件介绍:JsonObject for DART (http://www.dartlang.org) Version 1.0.19 Usage: Add to pubspec.yaml:
Now M7 (Dart Beta) compatible. All tests passing with SDK 0.8.10.3_r29803 See Changelog. You can use JsonObject in two different ways. 1 Accessing JSON Maps in a class-based fashionRead the article about using this on the dartlang website: http://www.dartlang.org/articles/json-web-service/ JsonObject takes a json string representation, and uses the Examples:
It implements Map, so you can convert it back to Json using JSON.encode():
Take a look at the unit tests to get an idea of how you can use it. 2. Experimental Using reflection to serialize from a real class instance to JSON(Requires use of a the experimental Use Example: import 'package:json_object/json_object.dart';
TODO:
Many of the unit tests are based around specific questions from users, either here or on stack overflow. |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论