Defines the annotations used by json_serializable to create code for JSON serialization and deserialization.
See the example to understand how to configure your package.
Please file feature requests and bugs at the issue tracker.
$JsonMapWrapper– and helper functions –
$wrapListHandleNull– to support the
useWrappersoption added to
Add this to your package's pubspec.yaml file:
dependencies: json_annotation: "^0.2.2"
You can install packages from the command line:
$ pub get
$ flutter packages get
Alternatively, your editor might support
pub get or
Check the docs for your editor to learn more.
Now in your Dart code, you can use:
|0.2.2||Dec 15, 2017|
|0.2.1||Nov 2, 2017|
|0.2.0||Sep 27, 2017|
We analyzed this package, and provided a score, details, and suggestions below.
Describes how popular the package is relative to other packages. [more]
Code health derived from static analysis. [more]
Reflects how tidy and up-to-date the package is. [more]
Weighted score of the above. [more]
Detected platforms: Flutter, server, web
No platform restriction found in libraries.
The description is too short.
Add more detail about the package, what it does and what is its target use case. Try to write at least 60 characters.
Package is pre-v1 release.
While there is nothing inherently wrong with versions of
0.*.*, it usually means that the author is still experimenting with the general direction API.
Maintain an example.
Create a short demo in the
example/directory to show how to use this package. Common file name patterns include:
example.dartor you could also use
|Dart SDK||>=1.24.0 <2.0.0|