smalljson 1.0.0 copy "smalljson: ^1.0.0" to clipboard
smalljson: ^1.0.0 copied to clipboard

Transparently decode SmallJson-encoded API responses with a drop-in Dio interceptor. Pairs with the nylo/smalljson Laravel package.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add smalljson

With Flutter:

 $ flutter pub add smalljson

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

dependencies:
  smalljson: ^1.0.0

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

Import it

Now in your Dart code, you can use:

import 'package:smalljson/smalljson.dart';
0
likes
160
points
0
downloads

Documentation

API reference

Publisher

verified publishernylo.dev

Weekly Downloads

Transparently decode SmallJson-encoded API responses with a drop-in Dio interceptor. Pairs with the nylo/smalljson Laravel package.

Repository (GitHub)
View/report issues

Topics

#dio #json #compression #network #interceptor

License

MIT (license)

Dependencies

dio

More

Packages that depend on smalljson