json_serializable 6.6.0
json_serializable: ^6.6.0 copied to clipboard
Automatically generate code for converting to and from JSON by annotating Dart classes.
2501
likes
140/ 140
pub points
100%
popularity
We analyzed this package in the last hour, and awarded it 140 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: BSD-3-Clause
.
10/10 points: Package has an example
10/10 points: 20% or more of the public API has dartdoc comments
- 50 out of 122 API elements (41.0 %) have documentation comments.
20/20 points: Supports 3 of 6 possible platforms (iOS, Android, Web, Windows, MacOS, Linux)
- ✓ Windows
- ✓ Linux
- ✓ MacOS
These platforms are not supported:
Package not compatible with platform Android
Because:
package:json_serializable/json_serializable.dart
that imports:package:json_serializable/src/json_serializable_generator.dart
that imports:package:json_serializable/src/type_helpers/uri_helper.dart
that imports:package:json_serializable/src/type_helpers/to_from_string.dart
that imports:package:json_serializable/src/default_container.dart
that imports:package:json_serializable/src/utils.dart
that imports:package:source_helper/source_helper.dart
that imports:package:source_helper/src/dart_type_extension.dart
that imports:package:source_gen/source_gen.dart
that imports:package:source_gen/src/type_checker.dart
that imports:dart:mirrors
Package not compatible with platform iOS
Because:
package:json_serializable/json_serializable.dart
that imports:package:json_serializable/src/json_serializable_generator.dart
that imports:package:json_serializable/src/type_helpers/uri_helper.dart
that imports:package:json_serializable/src/type_helpers/to_from_string.dart
that imports:package:json_serializable/src/default_container.dart
that imports:package:json_serializable/src/utils.dart
that imports:package:source_helper/source_helper.dart
that imports:package:source_helper/src/dart_type_extension.dart
that imports:package:source_gen/source_gen.dart
that imports:package:source_gen/src/type_checker.dart
that imports:dart:mirrors
Package not compatible with platform Web
Because:
package:json_serializable/json_serializable.dart
that imports:package:json_serializable/src/json_serializable_generator.dart
that imports:package:json_serializable/src/type_helpers/uri_helper.dart
that imports:package:json_serializable/src/type_helpers/to_from_string.dart
that imports:package:json_serializable/src/default_container.dart
that imports:package:json_serializable/src/utils.dart
that imports:package:json_serializable/src/type_helpers/config_types.dart
that imports:package:analyzer/dart/constant/value.dart
that imports:package:analyzer/dart/element/type.dart
that imports:package:analyzer/dart/element/element.dart
that imports:package:analyzer/src/task/api/model.dart
that imports:package:analyzer/src/generated/source.dart
that imports:package:analyzer/src/generated/engine.dart
that imports:package:analyzer/error/listener.dart
that imports:package:analyzer/error/error.dart
that imports:package:analyzer/src/error/error_code_values.g.dart
that imports:package:analyzer/src/generated/parser.dart
that imports:package:analyzer/src/fasta/ast_builder.dart
that imports:package:analyzer/src/generated/utilities_dart.dart
that imports:package:analyzer/src/dart/element/element.dart
that imports:package:analyzer/src/summary2/macro.dart
that imports:package:analyzer/src/summary2/kernel_compilation_service.dart
that imports:package:_fe_analyzer_shared/src/macros/compiler/request_channel.dart
that imports:dart:io
30/30 points: code has no errors, warnings, lints, or formatting issues
10/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest |
---|---|---|---|
analyzer | ^5.2.0 | 5.4.0 | 5.4.0 |
async | ^2.8.0 | 2.10.0 | 2.10.0 |
build | ^2.0.0 | 2.3.1 | 2.3.1 |
build_config | >=0.4.4 <2.0.0 | 1.1.1 | 1.1.1 |
collection | ^1.14.0 | 1.17.1 | 1.17.1 |
json_annotation | >=4.8.0 <4.9.0 | 4.8.0 | 4.8.0 |
meta | ^1.3.0 | 1.8.0 | 1.8.0 |
path | ^1.8.0 | 1.8.3 | 1.8.3 |
pub_semver | ^2.0.0 | 2.1.3 | 2.1.3 |
pubspec_parse | ^1.0.0 | 1.2.1 | 1.2.1 |
source_gen | ^1.0.0 | 1.2.6 | 1.2.6 |
source_helper | ^1.3.0 | 1.3.3 | 1.3.3 |
Transitive dependencies
Package | Constraint | Compatible | Latest |
---|---|---|---|
_fe_analyzer_shared | - | 52.0.0 | 52.0.0 |
args | - | 2.3.2 | 2.3.2 |
checked_yaml | - | 2.0.2 | 2.0.2 |
convert | - | 3.1.1 | 3.1.1 |
crypto | - | 3.0.2 | 3.0.2 |
dart_style | - | 2.2.4 | 2.2.4 |
file | - | 6.1.4 | 6.1.4 |
glob | - | 2.1.1 | 2.1.1 |
logging | - | 1.1.1 | 1.1.1 |
package_config | - | 2.1.0 | 2.1.0 |
source_span | - | 1.9.1 | 1.9.1 |
string_scanner | - | 1.2.0 | 1.2.0 |
term_glyph | - | 1.2.1 | 1.2.1 |
typed_data | - | 1.3.1 | 1.3.1 |
watcher | - | 1.0.2 | 1.0.2 |
yaml | - | 3.1.1 | 3.1.1 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
10/10 points: Package supports latest stable Dart and Flutter SDKs
20/20 points: Package and dependencies are fully migrated to null safety!
Analysed with Pana 0.21.25
, Dart 2.19.0
.