safety_json_serializable 2.0.1 copy "safety_json_serializable: ^2.0.1" to clipboard
safety_json_serializable: ^2.0.1 copied to clipboard

Base on json_serializable package Automatically generate code for converting to and from JSON by annotating Dart classes.

safety_json_serializable #

Base on package:json_serializable and handle parsing JSON to objects without throwing exceptions.

Support types without exception (required nullable type)

BigInt, bool, DateTime, double, int, List, Map, Object, String, Uri

Example

Left: json_serializable

Right: safety_json_serializable

1
likes
140
points
295
downloads

Publisher

unverified uploader

Weekly Downloads

Base on json_serializable package Automatically generate code for converting to and from JSON by annotating Dart classes.

Repository (GitHub)
View/report issues

Topics

#json #build-runner #json-serializable #codegen

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

analyzer, async, build, build_config, collection, dart_style, json_annotation, meta, path, pub_semver, pubspec_parse, source_gen, source_helper

More

Packages that depend on safety_json_serializable