dart_json 2.0.0 icon indicating copy to clipboard operation
dart_json: ^2.0.0 copied to clipboard

A easy to use json to object deserializer and object to json serializer for dart

12
likes
40/ 140
pub points
29%
popularity

The package version is not analyzed, because it does not support Dart 3. Until this is resolved, the package will receive a pub score of 0.

We analyzed this package 3 days ago, and awarded it 40 pub points (of a possible 140):

icon indicating section status
Follow Dart file conventions
30 / 30icon to trigger folding of the section

10/10 points: Provide a valid pubspec.yaml

5/5 points: Provide a valid README.md

5/5 points: Provide a valid CHANGELOG.md

10/10 points: Use an OSI-approved license

Detected license: MIT.

icon indicating section status
Provide documentation
10 / 20icon to trigger folding of the section

10/10 points: Package has an example

0/10 points: Failed to run dartdoc

  • dartdoc failed, see task-log.
icon indicating section status
Platform support
0 / 20icon to trigger folding of the section

0/20 points: Platform support detection failed

Could not determine supported platforms as package resolution failed.

Run dart pub get for more information.

icon indicating section status
Pass static analysis
0 / 50icon to trigger folding of the section

0/50 points: code has no errors, warnings, lints, or formatting issues

Found 16 issues. Showing the first 2:

ERROR: The parameter 'name' can't have a value of 'null' because of its type, but the implicit default value is 'null'.

lib/annotation/json_property.dart:15:28

   ╷
15 │   const JsonProperty([this.name]);
   │                            ^^^^
   ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/annotation/json_property.dart

ERROR: The class 'List' doesn't have an unnamed constructor.

lib/json.dart:60:20

   ╷
60 │     var typeArgs = List<Type>();
   │                    ^^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/json.dart

icon indicating section status
Support up-to-date dependencies
0 / 20icon to trigger folding of the section

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

Sdk constraint doesn't support current Dart version 3.2.0-134.1.beta. Cannot run `dart pub outdated`.

pubspec.yaml:6:8

  ╷
6 │   sdk: '>=2.0.0 <3.0.0'
  │        ^^^^^^^^^^^^^^^^
  ╵

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

Sdk constraint doesn't support current Dart version 3.2.0-134.1.beta.

pubspec.yaml:6:8

  ╷
6 │   sdk: '>=2.0.0 <3.0.0'
  │        ^^^^^^^^^^^^^^^^
  ╵

Try widening the upper boundary of the constraint.

Analysed with Pana 0.21.37, Dart 3.2.0-134.1.beta.

12
likes
40
pub points
29%
popularity

Publisher

verified publisher iconmintware.de

A easy to use json to object deserializer and object to json serializer for dart

Repository (GitHub)
View/report issues

License

Icon for licenses.MIT (LICENSE)

More

Packages that depend on dart_json