GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
Net::HTTP::Spore::Middleware::Format::JSON(3) User Contributed Perl Documentation Net::HTTP::Spore::Middleware::Format::JSON(3)

Net::HTTP::Spore::Middleware::Format::JSON - middleware for JSON format

version 0.09

    my $client = Net::HTTP::Spore->new_from_spec('twitter.json');
    $client->enable('Format::JSON');

Net::HTTP::Spore::Middleware::Format::JSON is a simple middleware to handle the JSON format. It will set the appropriate Accept header in your request. If the request method is PUT or POST, the Content-Type header will also be set to JSON.

This middleware will also deserialize content in the response. The deserialized content will be store in the body of the response.

  • Franck Cuny <franck.cuny@gmail.com>
  • Ash Berlin <ash@cpan.org>
  • Ahmad Fatoum <athreef@cpan.org>

This software is copyright (c) 2012 by Linkfluence.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.

2017-10-27 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.