dart_json 2.0.0
dart_json: ^2.0.0 copied to clipboard
A easy to use json to object deserializer and object to json serializer for dart
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):
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
.
10/10 points: Package has an example
0/10 points: Failed to run dartdoc
dartdoc
failed, see task-log.
0/20 points: Platform support detection failed
Could not determine supported platforms as package resolution failed.
Run dart pub get
for more information.
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
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
.