safe_json_annotation 0.2.0 copy "safe_json_annotation: ^0.2.0" to clipboard
safe_json_annotation: ^0.2.0 copied to clipboard

Runtime companion for safe_json_serializable — tolerant parse helpers and a re-export of json_annotation, so backend type changes never crash fromJson.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add safe_json_annotation

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  safe_json_annotation: ^0.2.0

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

Import it

Now in your Dart code, you can use:

import 'package:safe_json_annotation/safe_json_annotation.dart';
1
likes
0
points
99
downloads

Publisher

unverified uploader

Weekly Downloads

Runtime companion for safe_json_serializable — tolerant parse helpers and a re-export of json_annotation, so backend type changes never crash fromJson.

Repository (GitHub)
View/report issues

Topics

#json #serialization #codegen #json-serializable

License

unknown (license)

Dependencies

json_annotation

More

Packages that depend on safe_json_annotation