{
    "content": [
        {
            "type": "text",
            "text": "# PDF::API2::Basic::PDF::Name (perldoc)\n\n## NAME\n\nPDF::API2::Basic::PDF::Name - Low-level PDF name object\n\n## Sections\n\n- **NAME**\n- **METHODS**\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "PDF::API2::Basic::PDF::Name",
        "section": "",
        "mode": "perldoc",
        "summary": "PDF::API2::Basic::PDF::Name - Low-level PDF name object",
        "synopsis": null,
        "tldr_summary": null,
        "tldr_examples": [],
        "tldr_source": null,
        "flags": [],
        "examples": [],
        "see_also": [],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "METHODS",
                "lines": 19,
                "subsections": []
            }
        ],
        "sections": {
            "NAME": {
                "content": "PDF::API2::Basic::PDF::Name - Low-level PDF name object\n",
                "subsections": []
            },
            "METHODS": {
                "content": "PDF::API2::Basic::PDF::Name->frompdf($string)\nCreates a new string object (not a full object yet) from a given string. The string is parsed\naccording to input criteria with escaping working, particular to Names.\n\n$n->convert ($string, $pdf)\nConverts a name into a string by removing the / and converting any hex munging.\n\n$s->aspdf ($pdf)\nReturns a name formatted as PDF. $pdf is optional but should be the PDF File object for which\nthe name is intended if supplied.\n\nPDF::API2::Basic::PDF::Name->stringtoname ($string, $pdf)\nSuitably encode the string $string for output in the File object $pdf (the exact format may\ndepend on the version of $pdf).\n\nPDF::API2::Basic::PDF::Name->nametostring ($string, $pdf)\nSuitably decode the string $string as read from the File object $pdf (the exact decoding may\ndepend on the version of $pdf). Principally, undo the hex encoding for PDF versions > 1.1.\n",
                "subsections": []
            }
        }
    }
}