json_query 0.1.1 copy "json_query: ^0.1.1" to clipboard
json_query: ^0.1.1 copied to clipboard

Extract and map fields from deeply nested JSON into Dart models without manual traversal.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add json_query

With Flutter:

 $ flutter pub add json_query

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

dependencies:
  json_query: ^0.1.1

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:json_query/json_query.dart';
1
likes
160
points
83
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Extract and map fields from deeply nested JSON into Dart models without manual traversal.

Repository (GitHub)
View/report issues

Topics

#json #parsing #serialization #mapping

License

MIT (license)

More

Packages that depend on json_query