The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

Search results for "dist:LWP-JSON-Tiny lwp"

LWP::JSON::Tiny - use JSON natively with LWP objects River stage one • 2 direct dependents • 2 total dependents

A lot of RESTful API integration involves pointless busy work with setting accept and content-type headers, remembering how Unicode is supposed to work and so on. This is a very simple wrapper around HTTP::Request and HTTP::Response that handles all ...

SKINGTON/LWP-JSON-Tiny-0.014 - 11 May 2018 18:29:32 UTC

LWP::UserAgent::JSON - a subclass of LWP::UserAgent that understands JSON River stage one • 2 direct dependents • 2 total dependents

This is a subclass of LWP::UserAgent which recognises if it gets JSON output back, and if so returns an HTTP::Response::JSON object instead of a HTTP::Response object. It exposes the logic of reblessing the HTTP::Response object in case you get hande...

SKINGTON/LWP-JSON-Tiny-0.014 - 11 May 2018 18:29:32 UTC

HTTP::Request::JSON - a subclass of HTTP::Request that understands JSON River stage one • 2 direct dependents • 2 total dependents

This is a simple subclass of HTTP::Request that does two things. First of all, it sets the Accept header to "application/json" as soon as it's created. Secondly, it implements a "json_content" method that adds the supplied data structure to the reque...

SKINGTON/LWP-JSON-Tiny-0.014 - 11 May 2018 18:29:32 UTC

HTTP::Message::JSON - a very simple superclass for JSON HTTP messages River stage one • 2 direct dependents • 2 total dependents

This is a very simple superclass used by HTTP::Request::JSON and HTTP::Response::JSON. It overrides the default behaviour of the HTTP::Headers method content_is_text. content_is_text Returns TRUE if this is a message with content type application/jso...

SKINGTON/LWP-JSON-Tiny-0.014 - 11 May 2018 18:29:32 UTC

HTTP::Response::JSON - a subclass of HTTP::Response that understands JSON River stage one • 2 direct dependents • 2 total dependents

This is a simple subclass of HTTP::Response that implements a method "json_content" which returns the JSON-decoded contents of the response. json_content Out: $perl_data Returns the Perl data structure corresponding to the contents of this response. ...

SKINGTON/LWP-JSON-Tiny-0.014 - 11 May 2018 18:29:32 UTC
5 results (0.024 seconds)