{
    "content": [
        {
            "type": "text",
            "text": "# XString (man)\n\n## NAME\n\nXString - Isolated String helpers from B\n\n## SYNOPSIS\n\n#!perl\nuse strict;\nuse warnings;\nuse Test::More;\nuse XString;\nuse B;\nis XString::cstring( q[a'string\"with quotes] ), B::cstring( q[a'string\"with quotes] ), q[\"a'string\\\"with quotes\"];\nis XString::perlstring( q[a'string\"with quotes] ), B::perlstring( q[a'string\"with quotes] ), q[\"a'string\\\"with quotes\"];\ndonetesting;\n\n## DESCRIPTION\n\nXString provides the B string helpers in one isolated package.  Right now only cstring and\nperlstring are available.\n\n## Sections\n\n- **NAME**\n- **VERSION**\n- **SYNOPSIS**\n- **DESCRIPTION**\n- **FUNCTIONS** (2 subsections)\n- **AUTHOR**\n- **COPYRIGHT AND LICENSE**\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "XString",
        "section": "",
        "mode": "man",
        "summary": "XString - Isolated String helpers from B",
        "synopsis": "#!perl\nuse strict;\nuse warnings;\nuse Test::More;\nuse XString;\nuse B;\nis XString::cstring( q[a'string\"with quotes] ), B::cstring( q[a'string\"with quotes] ), q[\"a'string\\\"with quotes\"];\nis XString::perlstring( q[a'string\"with quotes] ), B::perlstring( q[a'string\"with quotes] ), q[\"a'string\\\"with quotes\"];\ndonetesting;",
        "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": 15,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 3,
                "subsections": []
            },
            {
                "name": "FUNCTIONS",
                "lines": 1,
                "subsections": [
                    {
                        "name": "cstring(STR)",
                        "lines": 3
                    },
                    {
                        "name": "perlstring(STR)",
                        "lines": 3
                    }
                ]
            },
            {
                "name": "AUTHOR",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "COPYRIGHT AND LICENSE",
                "lines": 8,
                "subsections": []
            }
        ],
        "sections": {
            "NAME": {
                "content": "XString - Isolated String helpers from B\n",
                "subsections": []
            },
            "VERSION": {
                "content": "version 0.005\n",
                "subsections": []
            },
            "SYNOPSIS": {
                "content": "#!perl\n\nuse strict;\nuse warnings;\n\nuse Test::More;\n\nuse XString;\nuse B;\n\nis XString::cstring( q[a'string\"with quotes] ), B::cstring( q[a'string\"with quotes] ), q[\"a'string\\\"with quotes\"];\nis XString::perlstring( q[a'string\"with quotes] ), B::perlstring( q[a'string\"with quotes] ), q[\"a'string\\\"with quotes\"];\n\ndonetesting;\n",
                "subsections": []
            },
            "DESCRIPTION": {
                "content": "XString provides the B string helpers in one isolated package.  Right now only cstring and\nperlstring are available.\n",
                "subsections": []
            },
            "FUNCTIONS": {
                "content": "",
                "subsections": [
                    {
                        "name": "cstring(STR)",
                        "content": "Similar to B::cstring; Returns a double-quote-surrounded escaped version of STR which can be\nused as a string in C source code.\n"
                    },
                    {
                        "name": "perlstring(STR)",
                        "content": "Similar to B::perlstring; Returns a double-quote-surrounded escaped version of STR which can\nbe used as a string in Perl source code.\n"
                    }
                ]
            },
            "AUTHOR": {
                "content": "Nicolas R <atoomic@cpan.org>\n",
                "subsections": []
            },
            "COPYRIGHT AND LICENSE": {
                "content": "This software is copyright (c) 2018 by cPanel, Inc.\n\nThis is free software; you can redistribute it and/or modify it under the same terms as the\nPerl 5 programming language system itself.\n\n\n\nperl v5.34.0                                 2022-02-06                                 XString(3pm)",
                "subsections": []
            }
        }
    }
}