json_lib 1.0.0 json_lib: ^1.0.0 copied to clipboard
Utility functions for working with json.
We analyzed this package 13 days ago, and awarded it 100 pub points (of a possible 140):
0/10 points: Provide a valid pubspec.yaml
The package description is too short.
Add more detail to the description
field of pubspec.yaml
. Use 60 to 180 characters to describe the package, what it does, and its target use case.
Failed to verify repository URL.
Please provide a valid repository
URL in pubspec.yaml
, such that:
repository
can be cloned,- a clone of the repository contains a
pubspec.yaml
, which:,- contains
name: json_lib
, - contains a
version
property, and, - does not contain a
publish_to
property.
- contains
pubspec.yaml
from the repository has no repository
or homepage
URL.
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: BSD-3-Clause
.
0/10 points: 20% or more of the public API has dartdoc comments
0 out of 27 API elements (0.0 %) have documentation comments.
Providing good documentation for libraries, classes, functions, and other API elements improves code readability and helps developers find and use your API. Document at least 20% of the public API elements.
Some symbols that are missing documentation: json_lib
, json_lib.JsonLibException
, json_lib.JsonLibException.JsonLibException
, json_lib.JsonLibException.message
, json_lib.asJsonList
.
10/10 points: Package has an example
20/20 points: Supports 6 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
- ✓ Android
- ✓ iOS
- ✓ Windows
- ✓ Linux
- ✓ macOS
- ✓ Web
30/50 points: code has no errors, warnings, lints, or formatting issues
Found 5 issues. Showing the first 2:
WARNING: The '?' is unnecessary because 'dynamic' is nullable without it.
lib/src/json_read.dart:57:8
╷
57 │ dynamic? _jsonSubscript(dynamic fieldOrIndex, dynamic data) {
│ ^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/json_read.dart
WARNING: The '?' is unnecessary because 'dynamic' is nullable without it.
lib/src/json_read.dart:100:16
╷
100 │ final dynamic? val = _jsonSubscript(fieldOrIndex, data);
│ ^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/json_read.dart
10/10 points: All of the package dependencies are supported in the latest version
No dependencies.
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
Analyzed with Pana 0.22.3
, Dart 3.3.3
.
Check the analysis log for details.