jaguar_serializer_cli 2.2.5

  • README.md
  • CHANGELOG.md
  • Installing
  • Versions
  • 83

Pub Build Status Build Status Gitter

jaguar_serializer_cli #

See Jaguar Serializer

Changelog #

2.2.1 #

  • Fixes when FieldProcessor's FromType is dynamic

2.2.0 #

  • Dart 2 stable

2.1.24 #

  • FieldProcessor

2.1.18 #

  • Immutable fix

2.1.17 #

  • Fix for dart-dev64.1

2.1.16 #

  • dynamic field

2.1.15 #

2.1.14 #

  • Fixed bug when source is Map<dynamic, dynamic>

2.1.10 #

  • Minor bug fixes

2.1.9 #

  • Minor bug fixes

2.1.8 #

  • Support enums

2.1.5 #

  • Bug fix for Field annotation directly on model class

2.0.3 #

  • Set is not serializable

2.0.2 #

  • Fixed for recursive models

2.0.0 #

  • fix flutter --release build
  • support generics
  • fix issues on static and private field
  • update source_gen and build
  • Dart2 compliance
    • better typing
    • force cast in generated code
  • we now support final field deserialization
  • createModel() in Serializer class is now deprecated, it will be remove in the final release of 1.0.0
  • simplify and optimize generated code
  • fix processor inside List/Map
  • support build.yaml and build_runner

*** Breaking Changes ***

  • All Serializers are now nullable by default
  • Drop Map key processor
  • Only Map<String, dynamic> can be encode
  • toMap(null) return null
  • fromMap(null) return null
  • fromMap({}) return object

0.5.2 #

  • update build
  • remove deprecated processors field support

0.5.1 #

  • version and help commands for CLI

0.5.0 #

  • Angular-like annotation to specify GenSerializer

Use this package as a library

1. Depend on it

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


dependencies:
  jaguar_serializer_cli: ^2.2.5

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:jaguar_serializer_cli/jaguar_serializer_cli.dart';
  
Version Uploaded Documentation Archive
2.2.5 Jan 9, 2019 Go to the documentation of jaguar_serializer_cli 2.2.5 Download jaguar_serializer_cli 2.2.5 archive
2.2.4 Oct 10, 2018 Go to the documentation of jaguar_serializer_cli 2.2.4 Download jaguar_serializer_cli 2.2.4 archive
2.2.2 Oct 1, 2018 Go to the documentation of jaguar_serializer_cli 2.2.2 Download jaguar_serializer_cli 2.2.2 archive
2.2.1 Aug 9, 2018 Go to the documentation of jaguar_serializer_cli 2.2.1 Download jaguar_serializer_cli 2.2.1 archive
2.2.0 Aug 7, 2018 Go to the documentation of jaguar_serializer_cli 2.2.0 Download jaguar_serializer_cli 2.2.0 archive
2.1.24 Jul 8, 2018 Go to the documentation of jaguar_serializer_cli 2.1.24 Download jaguar_serializer_cli 2.1.24 archive
2.1.23 Jul 5, 2018 Go to the documentation of jaguar_serializer_cli 2.1.23 Download jaguar_serializer_cli 2.1.23 archive
2.1.21 Jun 29, 2018 Go to the documentation of jaguar_serializer_cli 2.1.21 Download jaguar_serializer_cli 2.1.21 archive
2.1.20 Jun 29, 2018 Go to the documentation of jaguar_serializer_cli 2.1.20 Download jaguar_serializer_cli 2.1.20 archive
2.1.19 Jun 29, 2018 Go to the documentation of jaguar_serializer_cli 2.1.19 Download jaguar_serializer_cli 2.1.19 archive

All 44 versions...

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

We analyzed this package on Feb 14, 2019, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.1.0
  • pana: 0.12.13

Platforms

Detected platforms: other

Primary library: package:jaguar_serializer_cli/jaguar_serializer_cli.dart with components: io, build, mirrors.

Health suggestions

Fix lib/src/instantiater/instantiater.dart. (-2.96 points)

Analysis of lib/src/instantiater/instantiater.dart reported 6 hints, including:

line 3 col 1: 'analyzer' is deprecated and shouldn't be used.

line 19 col 45: 'element' is deprecated and shouldn't be used.

line 20 col 39: 'element' is deprecated and shouldn't be used.

line 23 col 22: 'element' is deprecated and shouldn't be used.

line 42 col 57: 'unit' is deprecated and shouldn't be used.

Fix lib/src/writer/to.dart. (-1.99 points)

Analysis of lib/src/writer/to.dart reported 4 hints:

line 10 col 67: Use = to separate a named parameter from its default value.

line 30 col 64: Use = to separate a named parameter from its default value.

line 52 col 65: Use = to separate a named parameter from its default value.

line 72 col 64: Use = to separate a named parameter from its default value.

Fix lib/src/info/info.dart. (-0.50 points)

Analysis of lib/src/info/info.dart reported 1 hint:

line 64 col 19: Use = to separate a named parameter from its default value.

Fix lib/src/writer/from.dart. (-0.50 points)

Analysis of lib/src/writer/from.dart reported 1 hint:

line 82 col 64: Use = to separate a named parameter from its default value.

Maintenance suggestions

Maintain an example. (-10 points)

Create a short demo in the example/ directory to show how to use this package.

Common filename patterns include main.dart, example.dart, and jaguar_serializer_cli.dart. Packages with multiple examples should provide example/README.md.

For more information see the pub package layout conventions.

Dependencies

Package Constraint Resolved Available
Direct dependencies
Dart SDK >=2.0.0 <3.0.0
analyzer ^0.34.0 0.34.3 0.35.1
build ^1.0.0 1.1.0 1.1.1
jaguar_serializer ^2.2.2 2.2.8
logging ^0.11.3 0.11.3+2
meta ^1.1.5 1.1.7
source_gen ^0.9.0 0.9.4+1
Transitive dependencies
args 1.5.1
async 2.0.8
charcode 1.1.2
convert 2.1.1
crypto 2.0.6
csslib 0.14.6
dart_style 1.2.3
front_end 0.1.9+1 0.1.11
glob 1.1.7
html 0.13.3+3
kernel 0.3.9+1 0.3.11
package_config 1.0.5
path 1.6.2
plugin 0.2.0+3
pub_semver 1.4.2
source_span 1.5.4
string_scanner 1.0.4
term_glyph 1.1.0
typed_data 1.1.6
utf 0.9.0+5
watcher 0.9.7+10
yaml 2.1.15
Dev dependencies
build_runner ^1.0.0
build_test ^0.10.3
build_web_compilers ^0.4.0
collection ^1.14.11 1.14.11
test ^1.3.0