jsonify 0.1.0

Dart native

A library useful for objects to serialize it and make a json represention of it.

0
likes
90 / 110
pub points
0 %
popularity

We analyzed this package on Sep 19, 2020, and awarded it 90 pub points (of a possible 110):

Follow Dart file conventions
20 / 20

10/10 points: Provide a valid pubspec.yaml

5/5 points: Provide a valid README.md

5/5 points: Provide a valid CHANGELOG.md

Provide documentation
20 / 20

10/10 points: Package has an example

  • Found example at: example/jsonify.dart

10/10 points: 20% or more of the public API has dartdoc comments

  • 2 out of 9 API elements (22.2 %) have documentation comments.
Support multiple platforms
10 / 20

10/20 points: Supports 1 of 2 possible platforms (native, js)

Consider supporting multiple platforms:

Package not compatible with runtime js

Because:

  • package:jsonify/jsonify.dart that imports:
  • dart:mirrors
Pass static analysis
20 / 30

20/30 points: code has no errors, warnings, lints, or formatting issues

Found 4 issues. Showing the first 2:

INFO: Unnecessary new keyword.

lib/src/jsonify_base.dart:23:15

   ╷
23 │     Map map = new Map();
   │               ^^^^^^^^^
   ╵

To reproduce make sure you are using pedantic and run dartanalyzer lib/src/jsonify_base.dart

INFO: Prefer to use whereType on iterable.

lib/src/jsonify_base.dart:26:40

   ╷
26 │     var decls = cm.declarations.values.where((dm) => dm is VariableMirror);
   │                                        ^^^^^
   ╵

To reproduce make sure you are using pedantic and run dartanalyzer lib/src/jsonify_base.dart

Support up-to-date dependencies
20 / 20

10/10 points: All of the package dependencies are supported in the latest version

No dependencies.

To reproduce run pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

10/10 points: Package supports latest stable Dart and Flutter SDKs

0
likes
90
pub points
0%
popularity

A library useful for objects to serialize it and make a json represention of it.

Repository (GitHub)
View/report issues

Documentation

API reference

Uploader

hermansj@gmail.com

License

BSD (LICENSE)

More

Packages that depend on jsonify