json_serializable 3.5.1
json_serializable: ^3.5.1

Dart native

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

656
likes
100 / 110
pub points
98 %
popularity

We analyzed this package on Dec 3, 2020, 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

  • 44 out of 88 API elements (50.0 %) 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.39.0 <0.42.00.41.10.41.1
build>=0.12.6 <2.0.01.5.21.5.2
build_config>=0.2.6 <0.5.00.4.40.4.4
json_annotation>=3.1.0 <3.2.03.1.13.1.1
meta^1.1.01.2.41.2.4
path^1.3.21.7.01.7.0
source_gen^0.9.60.9.90.9.9
Transitive dependencies
PackageConstraintCompatibleLatest
_fe_analyzer_shared-14.0.014.0.0
args-1.6.01.6.0
async-2.4.22.4.2
charcode-1.1.31.1.3
checked_yaml-1.0.21.0.2
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.2
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.9.2
pubspec_parse-0.1.50.1.5
source_span-1.7.01.7.0
string_scanner-1.0.51.0.5
term_glyph-1.1.01.1.0
typed_data-1.2.01.2.0
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

656
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