Skip to content

adaojunior/jsonpadding

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

jsonpadding

A jsonp library for Dart.

Usage

A simple usage example:

import 'package:jsonpadding/jsonpadding.dart';

void main() {

  /// uri could also be a [String]
  Uri uri = Uri(
      scheme: 'http',
      host: 'en.wikipedia.org',
      path: 'w/api.php',
      queryParameters: {
        'search': 'brazil',
        'action': 'opensearch',
        'format': 'json'
      }
  );

  jsonp(uri).then(print);

  /// Also available as a class
  Jsonp()..get(uri).then(print);
}

About

A jsonp library for Dart.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published