json_sentinel 0.1.0 copy "json_sentinel: ^0.1.0" to clipboard
json_sentinel: ^0.1.0 copied to clipboard

Lightweight runtime JSON key and type validation for Dart. No code generation required.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add json_sentinel

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

dependencies:
  json_sentinel: ^0.1.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:json_sentinel/json_sentinel.dart';
4
likes
0
points
198
downloads

Publisher

unverified uploader

Weekly Downloads

Lightweight runtime JSON key and type validation for Dart. No code generation required.

Repository (GitHub)
View/report issues

Topics

#json #validation #schema-validation

License

unknown (license)

More

Packages that depend on json_sentinel