The Perl Advent Calendar needs more articles for 2022. Submit your idea today!

Changes for version 0.011 - 2017-05-28

  • Bug fix
    • LWP::UserAgent::JSON->rebless_maybe now works even if nobody during the life of the Perl process has called HTTP::Message->content_type yet. This could be the case if you're getting JSON back from a GET route, for instance. This was
    • thanks for reporting this, g0ga!


a very simple superclass for JSON HTTP messages
a subclass of HTTP::Request that understands JSON
a subclass of HTTP::Response that understands JSON
use JSON natively with LWP objects
a subclass of LWP::UserAgent that understands JSON