spry_json 0.0.1 copy "spry_json: ^0.0.1" to clipboard
spry_json: ^0.0.1 copied to clipboard

discontinuedreplaced by: spry
outdated

Spry JSON middleware and request/response extension, used to convert request body to JSON object or set response body to JSON object.

example/main.dart

import 'package:spry/spry.dart';
import 'package:spry_json/spry_json.dart';

void main() {
  final Spry spry = Spry();

  handler(Context context) {
    context.response.json({'foo': 'bar'});
  }

  spry.listen(handler, port: 3000);

  print('Listening on http://localhost:3000');
}
1
likes
0
points
2
downloads

Publisher

verified publisherodroe.com

Weekly Downloads

Spry JSON middleware and request/response extension, used to convert request body to JSON object or set response body to JSON object.

Homepage
Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

spry

More

Packages that depend on spry_json