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
150/ 160
pub points
45.7k
downloads

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

Partially passed report section
Follow Dart file conventions
30 / 30trigger folding of the section

Partially passed check 10/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.

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

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

38 out of 81 API elements (46.9 %) have documentation comments.

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

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 6 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

  • ✓ Web

Passed check 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.

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 4 issues. Showing the first 2:

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

To format your files run: dart format .

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

To format your files run: dart format .

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

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

Package Constraint Compatible Latest Notes
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 4.0.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 Notes
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.

The constraint `^3.0.0` on objectid does not support the stable version `4.0.0`, that was published 27 days ago.

When objectid is 30 days old, this package will no longer be awarded points in this category.

Try running dart pub upgrade --major-versions objectid to update the constraint.

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.22.20, Dart 3.7.2.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
Jul 7Aug 4Sep 1Sep 29Oct 27Nov 24Dec 22Jan 19Feb 16Mar 1602k4k6k8k10k12k14k>=0.0.0-0 <1.0.0
1
likes
150
points
45.7k
downloads

Publisher

verified publisherrealm.io

Weekly Downloads

2024.09.22 - 2025.04.06

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)

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