{
    "content": [
        {
            "type": "text",
            "text": "# HTML::Mason::Component::Subcomponent (perldoc)\n\n## NAME\n\nHTML::Mason::Component::Subcomponent - Mason Subcomponent Class\n\n## DESCRIPTION\n\nThis is a subclass of HTML::Mason::Component. Mason uses it to implement both subcomponents\n(defined by \"<%def>\") and methods (defined by \"<%method>\").\n\n## Sections\n\n- **NAME**\n- **DESCRIPTION**\n- **METHODS**\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "HTML::Mason::Component::Subcomponent",
        "section": "",
        "mode": "perldoc",
        "summary": "HTML::Mason::Component::Subcomponent - Mason Subcomponent Class",
        "synopsis": null,
        "tldr_summary": null,
        "tldr_examples": [],
        "tldr_source": null,
        "flags": [],
        "examples": [],
        "see_also": [],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 8,
                "subsections": []
            },
            {
                "name": "METHODS",
                "lines": 7,
                "subsections": []
            }
        ],
        "sections": {
            "NAME": {
                "content": "HTML::Mason::Component::Subcomponent - Mason Subcomponent Class\n",
                "subsections": []
            },
            "DESCRIPTION": {
                "content": "This is a subclass of HTML::Mason::Component. Mason uses it to implement both subcomponents\n(defined by \"<%def>\") and methods (defined by \"<%method>\").\n\nA subcomponent/method gets most of its properties from its owner. Note that the link from the\nsubcomponent to its owner is a weak reference (to prevent circular references), so if you grab a\nsubcomponent/method object, you should also grab and hold a reference to its owner. If the owner\ngoes out of scope, the subcomponent/method object will become unusable.\n",
                "subsections": []
            },
            "METHODS": {
                "content": "ismethod\nReturns 1 if this is a method (declared by \"<%method>\"), 0 if it is a subcomponent (defined\nby c<< <%def> >>).\n\nowner\nReturns the component object within which this subcomponent or method was defined.\n",
                "subsections": []
            }
        }
    }
}