json_error_clarity 0.1.8
json_error_clarity: ^0.1.8 copied to clipboard
Transform cryptic JSON parsing errors into crystal-clear, actionable error messages. Perfect companion to json_annotation.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add json_error_clarityThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
json_error_clarity: ^0.1.8Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:json_error_clarity/json_error_clarity.dart';