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

outdated

A library to access deep nested values inside of dart data structures, like returned from `dynamic jsonDecode(String source)`.

example/deep_pick_example.dart

import 'dart:convert';

import 'package:deep_pick/deep_pick.dart';

void main() {
final json = jsonDecode('''
    {
      "shoes": [
         { 
           "id": "421",
           "name": "Nike Zoom Fly 3"
         }
      ]
    }
    ''');
final name = parseJsonToString(json, 'shoes', 0, 'name');
print(name); // Nike Zoom Fly 3
final id = parseJsonToInt(json, 'shoes', 0, 'id');
print(id); // 421
}
144
likes
0
pub points
93%
popularity

Publisher

verified publisherpascalwelsch.com

A library to access deep nested values inside of dart data structures, like returned from `dynamic jsonDecode(String source)`.

Repository (GitHub)
View/report issues

License

unknown (license)

More

Packages that depend on deep_pick