dson_core 0.15.2

  • README.md
  • CHANGELOG.md
  • Installing
  • Versions
  • 59

dson_core

Core libraries of dson

0.15.2

  • upgrade analyzer to version ^0.33.0
  • upgrade build_runner to version ^1.0.0
  • upgrade build to version ^1.0.1
  • upgrade serializable_core to version ^0.11.1

0.15.1

  • fix deserialize class with default constructor with optional args (fix #37).
  • deserialize immutable with wrong constructor-parameter name now is possible. However now it returns null for that parameter after deserializing instead throwing NoConstructorFound error.

0.15.0

  • upgrade serializable_core to version 0.11.0 since this version now generates from methods which now allows convert objects from generic values.
  • move SerializedName to built_mirrors library since the serialized name is now generated at build time

0.14.0

  • upgrade sourge_gen to version ^0.9.0
  • upgrade analyzer to version ^0.32.0
  • upgrade built_mirrors_core to version ^0.9.0
  • upgrade serializable_core to version ^0.10.0

0.13.3

0.13.2

  • fix error serializing immutable with optional parameters

0.13.1

  • upgrade source_gen to version ^0.8.0

0.13.0

  • Upgrade serializable_core to version ^0.9.0

0.12.0

  • move files from dson

Use this package as a library

1. Depend on it

Add this to your package's pubspec.yaml file:


dependencies:
  dson_core: ^0.15.2

2. Install it

You can install packages from the command line:

with pub:


$ pub get

Alternatively, your editor might support pub get. Check the docs for your editor to learn more.

3. Import it

Now in your Dart code, you can use:


import 'package:dson_core/dson.dart';
import 'package:dson_core/generator.dart';
  
Version Uploaded Documentation Archive
0.15.2 Oct 17, 2018 Go to the documentation of dson_core 0.15.2 Download dson_core 0.15.2 archive
0.15.1 Aug 26, 2018 Go to the documentation of dson_core 0.15.1 Download dson_core 0.15.1 archive
0.15.0+1 Aug 7, 2018 Go to the documentation of dson_core 0.15.0+1 Download dson_core 0.15.0+1 archive
0.15.0 Aug 4, 2018 Go to the documentation of dson_core 0.15.0 Download dson_core 0.15.0 archive
0.14.0 Aug 1, 2018 Go to the documentation of dson_core 0.14.0 Download dson_core 0.14.0 archive
0.13.3 Jun 13, 2018 Go to the documentation of dson_core 0.13.3 Download dson_core 0.13.3 archive
0.13.2 Apr 3, 2018 Go to the documentation of dson_core 0.13.2 Download dson_core 0.13.2 archive
0.13.1 Apr 3, 2018 Go to the documentation of dson_core 0.13.1 Download dson_core 0.13.1 archive
0.13.0 Feb 14, 2018 Go to the documentation of dson_core 0.13.0 Download dson_core 0.13.0 archive
0.12.0 Feb 7, 2018 Go to the documentation of dson_core 0.12.0 Download dson_core 0.12.0 archive

All 11 versions...

Popularity:
Describes how popular the package is relative to other packages. [more]
37
Health:
Code health derived from static analysis. [more]
100
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
50
Overall:
Weighted score of the above. [more]
59
Learn more about scoring.

We analyzed this package on Dec 5, 2018, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.1.0
  • pana: 0.12.7

Platforms

Detected platforms: other

Platform components identified in package: build, io, mirrors.

Health suggestions

Format lib/dson.dart.

Run dartfmt to format lib/dson.dart.

Format lib/generator.dart.

Run dartfmt to format lib/generator.dart.

Format lib/src/annotations.dart.

Run dartfmt to format lib/src/annotations.dart.

Fix additional 4 files with analysis or formatting issues.

Additional issues in the following files:

  • lib/src/caches.dart (Run dartfmt to format lib/src/caches.dart.)
  • lib/src/deserializer.dart (Run dartfmt to format lib/src/deserializer.dart.)
  • lib/src/exceptions.dart (Run dartfmt to format lib/src/exceptions.dart.)
  • lib/src/serializer.dart (Run dartfmt to format lib/src/serializer.dart.)

Maintenance issues and suggestions

Homepage does not exists. (-20 points)

We were unable to access https://github.com/luisvt/dson_core at the time of the analysis.

The description is too short. (-20 points)

Add more detail about the package, what it does and what is its target use case. Try to write at least 60 characters.

Maintain an example. (-10 points)

Create a short demo in the example/ directory to show how to use this package. Common file name patterns include: main.dart, example.dart or you could also use dson_core.dart.

Dependencies

Package Constraint Resolved Available
Direct dependencies
Dart SDK >=1.8.0 <3.0.0
analyzer ^0.33.0 0.33.6 0.34.0
build ^1.0.1 1.0.1
logging ^0.11.0 0.11.3+2
serializable_core ^0.11.1 0.11.1
source_gen ^0.9.0 0.9.1+3
Transitive dependencies
args 1.5.1
async 2.0.8
built_mirrors_core 0.10.1
charcode 1.1.2
collection 1.14.11
convert 2.0.2
crypto 2.0.6
csslib 0.14.6
dart_style 1.2.0 1.2.1
front_end 0.1.6+8 0.1.7
glob 1.1.7
html 0.13.3+3
kernel 0.3.6+8 0.3.7
meta 1.1.6
package_config 1.0.5
path 1.6.2
plugin 0.2.0+3
pub_semver 1.4.2
source_span 1.4.1
string_scanner 1.0.4
typed_data 1.1.6
utf 0.9.0+5
watcher 0.9.7+10
yaml 2.1.15