{
    "content": [
        {
            "type": "text",
            "text": "# Test2::Event::Diag (perldoc)\n\n## NAME\n\nTest2::Event::Diag - Diag event type\n\n## SYNOPSIS\n\nuse Test2::API qw/context/;\nuse Test2::Event::Diag;\nmy $ctx = context();\nmy $event = $ctx->diag($message);\n\n## DESCRIPTION\n\nDiagnostics messages, typically rendered to STDERR.\n\n## Sections\n\n- **NAME**\n- **DESCRIPTION**\n- **SYNOPSIS**\n- **ACCESSORS**\n- **SOURCE**\n- **MAINTAINERS**\n- **AUTHORS**\n- **COPYRIGHT**\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "Test2::Event::Diag",
        "section": "",
        "mode": "perldoc",
        "summary": "Test2::Event::Diag - Diag event type",
        "synopsis": "use Test2::API qw/context/;\nuse Test2::Event::Diag;\nmy $ctx = context();\nmy $event = $ctx->diag($message);",
        "tldr_summary": null,
        "tldr_examples": [],
        "tldr_source": null,
        "flags": [],
        "examples": [],
        "see_also": [],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 6,
                "subsections": []
            },
            {
                "name": "ACCESSORS",
                "lines": 3,
                "subsections": []
            },
            {
                "name": "SOURCE",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "MAINTAINERS",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "AUTHORS",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "COPYRIGHT",
                "lines": 7,
                "subsections": []
            }
        ],
        "sections": {
            "NAME": {
                "content": "Test2::Event::Diag - Diag event type\n",
                "subsections": []
            },
            "DESCRIPTION": {
                "content": "Diagnostics messages, typically rendered to STDERR.\n",
                "subsections": []
            },
            "SYNOPSIS": {
                "content": "use Test2::API qw/context/;\nuse Test2::Event::Diag;\n\nmy $ctx = context();\nmy $event = $ctx->diag($message);\n",
                "subsections": []
            },
            "ACCESSORS": {
                "content": "$diag->message\nThe message for the diag.\n",
                "subsections": []
            },
            "SOURCE": {
                "content": "The source code repository for Test2 can be found at http://github.com/Test-More/test-more/.\n",
                "subsections": []
            },
            "MAINTAINERS": {
                "content": "Chad Granum <exodist@cpan.org>\n",
                "subsections": []
            },
            "AUTHORS": {
                "content": "Chad Granum <exodist@cpan.org>\n",
                "subsections": []
            },
            "COPYRIGHT": {
                "content": "Copyright 2020 Chad Granum <exodist@cpan.org>.\n\nThis program is free software; you can redistribute it and/or modify it under the same terms as\nPerl itself.\n\nSee http://dev.perl.org/licenses/\n",
                "subsections": []
            }
        }
    }
}