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

Changes for version 0.008 - 2016-11-12

  • Features
    • New methods LWP::UserAgent::JSON->post_json, put_json and patch_json act as the equivalent of LWP::UserAgent->post, ->put and ->patch (if it actually implemented a patch method, which it doesn't), but if a reference is passed as the parameter after $url, turn it into JSON instead of form-encoding it.
    • Should handle Unicode better.


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