canonical_json 1.1.0
canonical_json: ^1.1.0 copied to clipboard

Encoder and decoder for a canonical JSON format, useful when cryptographically hashing or signing JSON objects.

5
likes
125/ 130
pub points
89%
popularity

We analyzed this package on Sep 16, 2021, and awarded it 125 pub points (of a possible 130):

Follow Dart file conventions
15 / 20

10/10 points: Provide a valid pubspec.yaml

0/5 points: Provide a valid README.md

Links in `README.md` should be secure. 6 links are insecure.

README.md:3:1

  ╷
3 │ <a href="http://wiki.laptop.org/go/Canonical_JSON">canonical JSON</a>. The canonical JSON format does not support floating-point
  │ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  ╵

Use https URLs instead.

5/5 points: Provide a valid CHANGELOG.md

Provide documentation
20 / 20

10/10 points: Package has an example

  • Found example at: example/main.dart

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

  • 3 out of 7 API elements (42.9 %) have documentation comments.
Support multiple platforms
20 / 20

20/20 points: Supports 2 of 2 possible platforms (native, js)

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
typed_data^1.1.61.3.01.3.0
unorm_dart^0.2.00.2.00.2.0
Transitive dependencies
PackageConstraintCompatibleLatest
collection-1.15.01.15.0

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

Support sound null safety
20 / 20

20/20 points: Package and dependencies are fully migrated to null safety!

Analysed with Pana 0.21.1+1, Dart 2.14.1.

5
likes
125
pub points
89%
popularity

Publisher

google.dev

Encoder and decoder for a canonical JSON format, useful when cryptographically hashing or signing JSON objects.

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

Apache-2.0 (LICENSE)

Dependencies

typed_data, unorm_dart

More

Packages that depend on canonical_json