{
    "content": [
        {
            "type": "text",
            "text": "# Net::Twitter::Role::WrapResult (perldoc)\n\n## NAME\n\nNet::Twitter::Role::WrapResult - Wrap Twitter API response and HTTP Response\n\n## SYNOPSIS\n\nuse Net::Twitter;\nmy $nt = Net::Twitter->new(\ntraits => [ qw/API::RESTv11 WrapResult/ ],\n%othernewoptions,\n);\nmy $r = $nt->verifycredentials;\nmy $httpresponse        = $r->httpresponse;\nmy $twitterresult       = $r->result;\nmy $ratelimitremaining = $r->ratelimitremaining;\n\n## DESCRIPTION\n\nNormally, Net::Twitter API methods return the decoded JSON body from the HTTP response. Some\nuseful information, notably rate limit information, is included in HTTP response headers. With\nthis role applied, API methods will return a Net::Twitter::WrappedResult object that includes\nboth the HTTP response and the decoded JSON response body. See Net::Twitter::WrappedResult for\ndetails.\n\n## Sections\n\n- **NAME**\n- **VERSION**\n- **SYNOPSIS**\n- **DESCRIPTION**\n- **AUTHOR**\n- **COPYRIGHT**\n- **LICENSE**\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "Net::Twitter::Role::WrapResult",
        "section": "",
        "mode": "perldoc",
        "summary": "Net::Twitter::Role::WrapResult - Wrap Twitter API response and HTTP Response",
        "synopsis": "use Net::Twitter;\nmy $nt = Net::Twitter->new(\ntraits => [ qw/API::RESTv11 WrapResult/ ],\n%othernewoptions,\n);\nmy $r = $nt->verifycredentials;\nmy $httpresponse        = $r->httpresponse;\nmy $twitterresult       = $r->result;\nmy $ratelimitremaining = $r->ratelimitremaining;",
        "tldr_summary": null,
        "tldr_examples": [],
        "tldr_source": null,
        "flags": [],
        "examples": [],
        "see_also": [],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "VERSION",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 13,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 6,
                "subsections": []
            },
            {
                "name": "AUTHOR",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "COPYRIGHT",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "LICENSE",
                "lines": 2,
                "subsections": []
            }
        ],
        "sections": {
            "NAME": {
                "content": "Net::Twitter::Role::WrapResult - Wrap Twitter API response and HTTP Response\n",
                "subsections": []
            },
            "VERSION": {
                "content": "version 4.01043\n",
                "subsections": []
            },
            "SYNOPSIS": {
                "content": "use Net::Twitter;\n\nmy $nt = Net::Twitter->new(\ntraits => [ qw/API::RESTv11 WrapResult/ ],\n%othernewoptions,\n);\n\nmy $r = $nt->verifycredentials;\n\nmy $httpresponse        = $r->httpresponse;\nmy $twitterresult       = $r->result;\nmy $ratelimitremaining = $r->ratelimitremaining;\n",
                "subsections": []
            },
            "DESCRIPTION": {
                "content": "Normally, Net::Twitter API methods return the decoded JSON body from the HTTP response. Some\nuseful information, notably rate limit information, is included in HTTP response headers. With\nthis role applied, API methods will return a Net::Twitter::WrappedResult object that includes\nboth the HTTP response and the decoded JSON response body. See Net::Twitter::WrappedResult for\ndetails.\n",
                "subsections": []
            },
            "AUTHOR": {
                "content": "Marc Mims <marc@questright.com>\n",
                "subsections": []
            },
            "COPYRIGHT": {
                "content": "Copyright (c) 2016 Marc Mims\n",
                "subsections": []
            },
            "LICENSE": {
                "content": "This library is free software and may be distributed under the same terms as perl itself.\n",
                "subsections": []
            }
        }
    }
}