dartx_serialization 1.0.0 copy "dartx_serialization: ^1.0.0" to clipboard
dartx_serialization: ^1.0.0 copied to clipboard

A Json serialization package that use reflection to serialize object to json string and deserialize json string to class object..

140/ 160
pub points
21
downloads

We analyzed this package 3 days ago, and awarded it 140 pub points (of a possible 160):

Failed report section
Follow Dart file conventions
20 / 30trigger folding of the section

Failed check 0/10 points: Provide a valid pubspec.yaml

  • pubspec.yaml doesn't have a homepage entry.

  • pubspec.yaml doesn't have a repository entry.

Passed check 5/5 points: Provide a valid README.md

Passed check 5/5 points: Provide a valid CHANGELOG.md

Passed check 10/10 points: Use an OSI-approved license

Detected license: MIT.

Passed report section
Provide documentation
20 / 20trigger folding of the section

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

9 out of 22 API elements (40.9 %) have documentation comments.

Some symbols that are missing documentation: dartx_serialization, dartx_serialization.DartXJson, dartx_serialization.DartXJson.DartXJson.new, dartx_serialization.Ignore.Ignore.new, dartx_serialization.JsonKey.JsonKey.new.

Passed check 10/10 points: Package has an example

Passed report section
Platform support
20 / 20trigger folding of the section

Passed check 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:dartx_serialization/dartx_serialization.dart that imports:
  • package:dartx_serialization/src/dartx_json.dart that imports:
  • package:dartx_serialization/src/util/ext.dart that imports:
  • dart:mirrors
Package not compatible with platform iOS

Because:

  • package:dartx_serialization/dartx_serialization.dart that imports:
  • package:dartx_serialization/src/dartx_json.dart that imports:
  • package:dartx_serialization/src/util/ext.dart that imports:
  • dart:mirrors
Package not compatible with platform Web

Because:

  • package:dartx_serialization/dartx_serialization.dart that imports:
  • package:dartx_serialization/src/dartx_json.dart that imports:
  • package:dartx_serialization/src/util/ext.dart that imports:
  • dart:mirrors
Partially passed report section
Pass static analysis
40 / 50trigger folding of the section

Partially passed check 40/50 points: code has no errors, warnings, lints, or formatting issues

Found 37 issues. Showing the first 2:

INFO: Missing type annotation.

lib/src/deserialization.dart:24:1

   ╷
24 │ _decodeJsonString(String source) {
   │ ^^^^^^^^^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/deserialization.dart

INFO: Missing type annotation.

lib/src/deserialization.dart:53:1

   ╷
53 │ _deserializeObject(decodedJson, Type decodedType) {
   │ ^^^^^^^^^^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/deserialization.dart

Passed report section
Support up-to-date dependencies
40 / 40trigger folding of the section

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

Package Constraint Compatible Latest Notes
collection ^1.17.1 1.19.1 1.19.1

To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

Passed check 10/10 points: Package supports latest stable Dart and Flutter SDKs

Passed check 20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.23.10, Dart 3.11.1.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
0
likes
140
points
21
downloads

Publisher

unverified uploader

Weekly Downloads

A Json serialization package that use reflection to serialize object to json string and deserialize json string to class object..

Documentation

API reference

License

MIT (license)

Dependencies

collection

More

Packages that depend on dartx_serialization