ejson 0.4.0 copy "ejson: ^0.4.0" to clipboard
ejson: ^0.4.0 copied to clipboard

EJSON serialization. BSON is a binary format used to store JSON-like documents efficiently. EJSON extends JSON defining how all BSON types should be represented in JSON.

1
likes
140/ 160
pub points
62%
popularity

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

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

0/10 points: Provide a valid pubspec.yaml

Repository URL doesn't exist.

At the time of the analysis https://github.com/realm/realm-dart/ejson/packages/ejson was unreachable. Make sure that the website is reachable via HEAD requests.

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: Apache-2.0.

OK
Provide documentation
20 / 20trigger folding of the section

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

38 out of 78 API elements (48.7 %) have documentation comments.

Some symbols that are missing documentation: ejson, ejson.BoolEJsonEncoderExtension, ejson.DBRef.collection, ejson.DBRef.id, ejson.DBRefEJsonEncoderExtension.

10/10 points: Package has an example

OK
Platform support
20 / 20trigger folding of the section

20/20 points: Supports 6 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

  • ✓ Web

0/0 points: WASM compatibility

This package is compatible with runtime wasm, and will be rewarded additional points in a future version of the scoring model.

See https://dart.dev/web/wasm for details.

partial
Pass static analysis
40 / 50trigger folding of the section

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

Found 4 issues. Showing the first 2:

/tmp/pana_RMLNCL/lib/src/configuration.dart doesn't match the Dart formatter.

To format your files run: dart format .

/tmp/pana_RMLNCL/lib/src/decoding.dart doesn't match the Dart formatter.

To format your files run: dart format .

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

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

Package Constraint Compatible Latest
collection ^1.17.0 1.19.1 1.19.1
ejson_annotation ^0.4.0 0.4.0 0.4.0
objectid ^3.0.0 3.1.0 3.1.0
sane_uuid ^1.0.0 1.1.0 1.1.0
type_plus ^2.0.0 2.1.1 2.1.1
Transitive dependencies
Package Constraint Compatible Latest
crypto - 3.0.6 3.0.6
meta - 1.16.0 1.16.0
typed_data - 1.4.0 1.4.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

20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.22.15, Dart 3.5.4.

Check the analysis log for details.

1
likes
140
pub points
62%
popularity

Publisher

verified publisherrealm.io

EJSON serialization. BSON is a binary format used to store JSON-like documents efficiently. EJSON extends JSON defining how all BSON types should be represented in JSON.

Repository (GitHub)
View/report issues

Topics

#ejson #bson #json #build-runner #codegen

Documentation

API reference

License

Apache-2.0 (license)

Dependencies

collection, ejson_annotation, objectid, sane_uuid, type_plus

More

Packages that depend on ejson