safe_json_serializable 0.3.0
safe_json_serializable: ^0.3.0 copied to clipboard
Crash-safe drop-in for json_serializable: runs its generator with tolerant TypeHelpers so backend type changes never crash fromJson. No fork, no per-field annotations.
We analyzed this package 5 days ago, and awarded it 150 pub points (of a possible 160):
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: 20% or more of the public API has dartdoc comments
1 out of 2 API elements (50.0 %) have documentation comments.
Some symbols that are missing documentation: safe_json_serializable.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add an example.
20/20 points: Supports 5 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ Windows
-
✓ Linux
-
✓ macOS
These platforms are not supported:
Package not compatible with platform Web
Because:
package:safe_json_serializable/safe_json_serializable.dartthat imports:package:safe_json_serializable/src/helpers.dartthat imports:package:json_serializable/type_helper.dartthat imports:package:json_serializable/src/unsupported_type_error.dartthat imports:package:analyzer/dart/element/type.dartthat imports:package:analyzer/src/dart/element/type.dartthat imports:package:analyzer/src/utilities/extensions/element.dartthat imports:package:analyzer/src/diagnostic/diagnostic.dartthat imports:package:analyzer/dart/element/element.dartthat imports:package:analyzer/src/dart/resolver/scope.dartthat imports:package:analyzer/src/generated/engine.dartthat imports:package:analyzer/src/analysis_options/analysis_options.dartthat imports:package:analyzer/src/analysis_rule/rule_context.dartthat imports:package:analyzer/analysis_rule/analysis_rule.dartthat imports:package:analyzer/src/analysis_rule/analysis_rule.dartthat imports:package:analyzer/src/lint/pub.dartthat imports:package:analyzer/source/file_source.dartthat imports:package:analyzer/file_system/file_system.dartthat imports:package:watcher/watcher.dartthat imports:package:watcher/src/file_watcher/polling.dartthat imports:package:watcher/src/polling.dartthat imports:dart:io
50/50 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 | Notes |
|---|---|---|---|---|
analyzer |
>=6.0.0 <20.0.0 |
14.1.0 | 14.1.0 | |
build |
>=2.4.0 <5.0.0 |
4.0.10 | 4.0.10 | |
json_annotation |
^4.12.0 |
4.12.0 | 4.12.0 | |
json_serializable |
^6.14.0 |
6.14.1 | 6.14.1 | |
source_gen |
>=1.4.0 <5.0.0 |
4.2.4 | 4.2.4 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
_fe_analyzer_shared |
- | 105.0.0 | 105.0.0 | |
args |
- | 2.7.0 | 2.7.0 | |
async |
- | 2.13.1 | 2.13.1 | |
build_config |
- | 1.3.2 | 1.3.2 | |
checked_yaml |
- | 2.0.4 | 2.0.4 | |
collection |
- | 1.19.1 | 1.19.1 | |
convert |
- | 3.1.2 | 3.1.2 | |
crypto |
- | 3.0.7 | 3.0.7 | |
dart_style |
- | 3.1.12 | 3.1.12 | |
file |
- | 7.0.1 | 7.0.1 | |
glob |
- | 2.1.3 | 2.1.3 | |
logging |
- | 1.3.0 | 1.3.0 | |
meta |
- | 1.19.0 | 1.19.0 | |
package_config |
- | 3.0.0 | 3.0.0 | |
path |
- | 1.9.1 | 1.9.1 | |
pub_semver |
- | 2.2.0 | 2.2.0 | |
pubspec_parse |
- | 1.5.0 | 1.5.0 | |
source_helper |
- | 1.3.13 | 1.3.13 | |
source_span |
- | 1.10.2 | 1.10.2 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
watcher |
- | 1.2.1 | 1.2.1 | |
yaml |
- | 3.1.3 | 3.1.3 |
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: Compatible with dependency constraint lower bounds
pub downgrade does not expose any static analysis error.
Analyzed with Pana 0.23.18, Dart 3.13.1.
Check the analysis log for details.