json_serializable 4.0.0-nullsafety.0
json_serializable: ^4.0.0-nullsafety.0 copied to clipboard

Dart native

Automatically generate code for converting to and from JSON by annotating Dart classes.

814
likes
100 / 110
pub points
98 %
popularity

We analyzed this package on Feb 2, 2021, and awarded it 100 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/example.dart

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

  • 43 out of 87 API elements (49.4 %) 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: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/type_helper.dart that imports:
  • package:analyzer/dart/element/type.dart that imports:
  • package:analyzer/src/dart/element/type.dart that imports:
  • package:analyzer/src/generated/utilities_dart.dart that imports:
  • package:analyzer/src/dart/element/element.dart that imports:
  • package:analyzer/src/util/comment.dart that imports:
  • package:analyzer/dart/ast/ast.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/generated/parser.dart that imports:
  • package:analyzer/src/dart/ast/utilities.dart that imports:
  • package:analyzer/src/dart/ast/constant_evaluator.dart that imports:
  • package:analyzer/dart/element/element.dart that imports:
  • package:analyzer/src/dart/resolver/scope.dart that imports:
  • package:analyzer/src/dart/element/scope.dart that imports:
  • package:analyzer/src/context/source.dart that imports:
  • package:analyzer/src/workspace/package_build.dart that imports:
  • package:analyzer/src/workspace/workspace.dart that imports:
  • package:analyzer/src/workspace/bazel.dart that imports:
  • package:analyzer/src/summary/package_bundle_reader.dart that imports:
  • package:analyzer/src/generated/source_io.dart that imports:
  • package:analyzer/src/generated/java_io.dart that imports:
  • dart:io
Pass static analysis
30 / 30

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

Support up-to-date dependencies
20 / 20

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

PackageConstraintCompatibleLatest
analyzer>=0.40.6 <0.42.00.41.20.41.2
build>=0.12.6 <2.0.01.6.21.6.2
build_config>=0.2.6 <0.5.00.4.50.4.5
json_annotation>=4.0.0-nullsafety.0 <4.1.04.0.0-nullsafety.04.0.0-nullsafety.0
meta^1.3.0-nullsafety.51.3.0-nullsafety.61.3.0-nullsafety.6
path^1.8.0-nullsafety.21.8.0-nullsafety.31.8.0-nullsafety.3
source_gen^0.9.60.9.10+10.9.10+1
Transitive dependencies
PackageConstraintCompatibleLatest
_fe_analyzer_shared-14.0.014.0.0
args-1.6.01.6.0
async-2.4.22.5.0-nullsafety.3
charcode-1.1.31.2.0-nullsafety.3
checked_yaml-1.0.41.0.4
cli_util-0.2.00.2.0
convert-2.1.12.1.1
crypto-2.1.52.1.5
file-5.2.15.2.1
glob-1.2.01.2.0
intl-0.16.10.16.1
js-0.6.20.6.3-nullsafety.3
node_interop-1.2.11.2.1
node_io-1.2.01.2.0
package_config-1.9.31.9.3
pedantic-1.9.21.10.0-nullsafety.3
pubspec_parse-0.1.70.1.7
source_span-1.7.01.8.0-nullsafety.4
string_scanner-1.0.51.1.0-nullsafety.3
term_glyph-1.1.01.2.0-nullsafety.3
typed_data-1.2.01.3.0-nullsafety.5
watcher-0.9.7+150.9.7+15

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

Analysed with Pana 0.14.10, Dart 2.12.0-133.2.beta.

814
likes
100
pub points
98%
popularity

Publisher

google.dev

Automatically generate code for converting to and from JSON by annotating Dart classes.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD (LICENSE)

Dependencies

analyzer, build, build_config, json_annotation, meta, path, source_gen

More

Packages that depend on json_serializable