{
    "content": [
        {
            "type": "text",
            "text": "# Mail::Field::Generic (perldoc)\n\n## NAME\n\nMail::Field::Generic - implementation for inspecific fields\n\n## SYNOPSIS\n\nuse Mail::Field;\nmy $field = Mail::Field->new('Subject', 'some subject text');\nmy $field = Mail::Field->new(subject => 'some subject text');\n\n## DESCRIPTION\n\nA generic implementation for header fields without own implementation. This is fine for fields\nlike \"Subject\", \"X-Mailer\", etc., where the field holds only a string of no particular\nimportance/format.\n\n## Sections\n\n- **NAME**\n- **INHERITANCE**\n- **SYNOPSIS**\n- **DESCRIPTION**\n- **METHODS** (3 subsections)\n- **DETAILS**\n- **DIAGNOSTICS**\n- **SEE ALSO**\n- **AUTHORS**\n- **LICENSE**\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "Mail::Field::Generic",
        "section": "",
        "mode": "perldoc",
        "summary": "Mail::Field::Generic - implementation for inspecific fields",
        "synopsis": "use Mail::Field;\nmy $field = Mail::Field->new('Subject', 'some subject text');\nmy $field = Mail::Field->new(subject => 'some subject text');",
        "tldr_summary": null,
        "tldr_examples": [],
        "tldr_source": null,
        "flags": [],
        "examples": [],
        "see_also": [],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "INHERITANCE",
                "lines": 3,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 4,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 6,
                "subsections": []
            },
            {
                "name": "METHODS",
                "lines": 2,
                "subsections": [
                    {
                        "name": "Constructors",
                        "lines": 23
                    },
                    {
                        "name": "Accessors",
                        "lines": 12
                    },
                    {
                        "name": "Smart accessors",
                        "lines": 5
                    }
                ]
            },
            {
                "name": "DETAILS",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "DIAGNOSTICS",
                "lines": 4,
                "subsections": []
            },
            {
                "name": "SEE ALSO",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "AUTHORS",
                "lines": 7,
                "subsections": []
            },
            {
                "name": "LICENSE",
                "lines": 6,
                "subsections": []
            }
        ],
        "sections": {
            "NAME": {
                "content": "Mail::Field::Generic - implementation for inspecific fields\n",
                "subsections": []
            },
            "INHERITANCE": {
                "content": "Mail::Field::Generic\nis a Mail::Field\n",
                "subsections": []
            },
            "SYNOPSIS": {
                "content": "use Mail::Field;\nmy $field = Mail::Field->new('Subject', 'some subject text');\nmy $field = Mail::Field->new(subject => 'some subject text');\n",
                "subsections": []
            },
            "DESCRIPTION": {
                "content": "A generic implementation for header fields without own implementation. This is fine for fields\nlike \"Subject\", \"X-Mailer\", etc., where the field holds only a string of no particular\nimportance/format.\n\nExtends \"DESCRIPTION\" in Mail::Field.\n",
                "subsections": []
            },
            "METHODS": {
                "content": "Extends \"METHODS\" in Mail::Field.\n",
                "subsections": [
                    {
                        "name": "Constructors",
                        "content": "Extends \"Constructors\" in Mail::Field.\n\nMail::Field::Generic->combine($fields)\nInherited, see \"Constructors\" in Mail::Field\n\nMail::Field::Generic->extract( $tag, $head [, $index ] )\nInherited, see \"Constructors\" in Mail::Field\n\nMail::Field::Generic->new( $tag [, STRING | %options] )\nInherited, see \"Constructors\" in Mail::Field\n\n\"Fake\" constructors\nExtends \"\"Fake\" constructors\" in Mail::Field.\n\n$obj->create(%options)\n-Option--Default\nText    ''\n\nText => STRING\n\n$obj->parse( [STRING] )\nSet the new text, which is empty when no STRING is provided.\n"
                    },
                    {
                        "name": "Accessors",
                        "content": "Extends \"Accessors\" in Mail::Field.\n\n$obj->set(%options)\nInherited, see \"Accessors\" in Mail::Field\n\n$obj->stringify()\nInherited, see \"Accessors\" in Mail::Field\n\n$obj->tag()\nMail::Field::Generic->tag()\nInherited, see \"Accessors\" in Mail::Field\n"
                    },
                    {
                        "name": "Smart accessors",
                        "content": "Extends \"Smart accessors\" in Mail::Field.\n\n$obj->text( [STRING] )\nInherited, see \"Smart accessors\" in Mail::Field\n"
                    }
                ]
            },
            "DETAILS": {
                "content": "Extends \"DETAILS\" in Mail::Field.\n",
                "subsections": []
            },
            "DIAGNOSTICS": {
                "content": "Error: Undefined subroutine <method> called\nMail::Field objects use autoloading to compile new functionality. Apparently, the method\ncalled is not implemented for the specific class of the field object.\n",
                "subsections": []
            },
            "SEE ALSO": {
                "content": "This module is part of the MailTools distribution, http://perl.overmeer.net/mailtools/.\n",
                "subsections": []
            },
            "AUTHORS": {
                "content": "The MailTools bundle was developed by Graham Barr. Later, Mark Overmeer took over maintenance\nwithout commitment to further development.\n\nMail::Cap by Gisle Aas <aas@oslonett.no>. Mail::Field::AddrList by Peter Orbaek <poe@cit.dk>.\nMail::Mailer and Mail::Send by Tim Bunce <Tim.Bunce@ig.co.uk>. For other contributors see\nChangeLog.\n",
                "subsections": []
            },
            "LICENSE": {
                "content": "Copyrights 1995-2000 Graham Barr <gbarr@pobox.com> and 2001-2017 Mark Overmeer\n<perl@overmeer.net>.\n\nThis program is free software; you can redistribute it and/or modify it under the same terms as\nPerl itself. See http://www.perl.com/perl/misc/Artistic.html\n",
                "subsections": []
            }
        }
    }
}