{
    "content": [
        {
            "type": "text",
            "text": "# Email::MIME::Encodings (perldoc)\n\n## NAME\n\nEmail::MIME::Encodings - A unified interface to MIME encoding and decoding\n\n## SYNOPSIS\n\nuse Email::MIME::Encodings;\nmy $encoded = Email::MIME::Encodings::encode(base64 => $body);\nmy $decoded = Email::MIME::Encodings::decode(base64 => $encoded);\nIf a third argument is given, it is the encoding to which to fall back. If no valid codec can be\nfound (considering both the first and third arguments) then an exception is raised.\n\n## DESCRIPTION\n\nThis module simply wraps \"MIME::Base64\" and \"MIME::QuotedPrint\" so that you can throw the\ncontents of a \"Content-Transfer-Encoding\" header at some text and have the right thing happen.\n\n## Sections\n\n- **NAME**\n- **VERSION**\n- **SYNOPSIS**\n- **DESCRIPTION**\n- **AUTHORS**\n- **COPYRIGHT AND LICENSE**\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "Email::MIME::Encodings",
        "section": "",
        "mode": "perldoc",
        "summary": "Email::MIME::Encodings - A unified interface to MIME encoding and decoding",
        "synopsis": "use Email::MIME::Encodings;\nmy $encoded = Email::MIME::Encodings::encode(base64 => $body);\nmy $decoded = Email::MIME::Encodings::decode(base64 => $encoded);\nIf a third argument is given, it is the encoding to which to fall back. If no valid codec can be\nfound (considering both the first and third arguments) then an exception is raised.",
        "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": 7,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 5,
                "subsections": []
            },
            {
                "name": "AUTHORS",
                "lines": 6,
                "subsections": []
            },
            {
                "name": "COPYRIGHT AND LICENSE",
                "lines": 5,
                "subsections": []
            }
        ],
        "sections": {
            "NAME": {
                "content": "Email::MIME::Encodings - A unified interface to MIME encoding and decoding\n",
                "subsections": []
            },
            "VERSION": {
                "content": "version 1.315\n",
                "subsections": []
            },
            "SYNOPSIS": {
                "content": "use Email::MIME::Encodings;\nmy $encoded = Email::MIME::Encodings::encode(base64 => $body);\nmy $decoded = Email::MIME::Encodings::decode(base64 => $encoded);\n\nIf a third argument is given, it is the encoding to which to fall back. If no valid codec can be\nfound (considering both the first and third arguments) then an exception is raised.\n",
                "subsections": []
            },
            "DESCRIPTION": {
                "content": "This module simply wraps \"MIME::Base64\" and \"MIME::QuotedPrint\" so that you can throw the\ncontents of a \"Content-Transfer-Encoding\" header at some text and have the right thing happen.\n\n\"MIME::Base64\", \"MIME::QuotedPrint\", \"Email::MIME\".\n",
                "subsections": []
            },
            "AUTHORS": {
                "content": "*   Simon Cozens <simon@cpan.org>\n\n*   Casey West <casey@geeknest.com>\n\n*   Ricardo SIGNES <rjbs@cpan.org>\n",
                "subsections": []
            },
            "COPYRIGHT AND LICENSE": {
                "content": "This software is copyright (c) 2004 by Simon Cozens and Casey West.\n\nThis is free software; you can redistribute it and/or modify it under the same terms as the Perl\n5 programming language system itself.\n",
                "subsections": []
            }
        }
    }
}