json_object_lite 1.1.1

  • README.md
  • CHANGELOG.md
  • Installing
  • Versions
  • 79

json_object_lite

Build Status

json_object_lite allows dot notation access to JSON.parse'd objects, for Dart, lite version.

This package is a re-implementation of the json_object package by Chris Buckett except it doesn't use mirrors and hence is a much lighter version. You of course lose the JSON serialization/deserialization of the original package, however there are more advanced packages you can use for this purpose, e.g dson.

Other than that this is a faithful, lighter, re-implementation intended as a drop in replacement for the original JsonObject. Please see the json_object documentation for further details.

1.1.1<br><br> Strong mode updates for pub

1.1.0<br><br> Fix immutability to follow that of json_object, not reverse it

1.0.2<br><br> Fix failing test in Chrome

1.0.1<br><br> Issue 1, library name bug

1.0.0<br><br> Initial Release

1. Depend on it

Add this to your package's pubspec.yaml file:


dependencies:
  json_object_lite: "^1.1.1"

2. Install it

You can install packages from the command line:

with pub:


$ pub get

with Flutter:


$ flutter packages get

Alternatively, your editor might support pub get or packages get. Check the docs for your editor to learn more.

3. Import it

Now in your Dart code, you can use:


import 'package:json_object_lite/json_object_lite.dart';
        
Version Uploaded Documentation Archive
1.1.1 Dec 11, 2017 Go to the documentation of json_object_lite 1.1.1 Download json_object_lite 1.1.1 archive
1.1.0 Oct 16, 2017 Go to the documentation of json_object_lite 1.1.0 Download json_object_lite 1.1.0 archive
1.0.2 Oct 13, 2017 Go to the documentation of json_object_lite 1.0.2 Download json_object_lite 1.0.2 archive
1.0.1 Oct 2, 2017 Go to the documentation of json_object_lite 1.0.1 Download json_object_lite 1.0.1 archive
1.0.0 Sep 26, 2017 Go to the documentation of json_object_lite 1.0.0 Download json_object_lite 1.0.0 archive

Analysis

This feature is new.
We welcome feedback.
More details: scoring.

We analyzed this package, and provided a score, details, and suggestions below.

  • completed on Feb 3, 2018
  • Dart: 2.0.0-dev.20.0
  • pana: 0.10.1

Scores

Popularity:
Describes how popular the package is relative to other packages. [more]
59 / 100
Health:
Code health derived from static analysis. [more]
99 / 100
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
100 / 100
Overall score:
Weighted score of the above. [more]
79

Platforms

Detected platforms: Flutter, web, other

No platform restriction found in primary library package:json_object_lite/json_object_lite.dart.

Suggestions

  • Maintain an example.

    None of the files in your example/ directory matches a known example patterns. Common file name patterns include: main.dart, example.dart or you could also use json_object_lite.dart.

Dependencies

Package Constraint Resolved Available
Direct dependencies
Dart SDK >=1.8.0 <2.0.0
Dev dependencies
coverage ^0.7.3
dart_dev ^1.0.0
dart_style >=0.2.0 <0.3.0
dartdoc >=0.8.0 <=0.10.0
test ^0.12.0