{
    "content": [
        {
            "type": "text",
            "text": "# JSON::Whitespace (perldoc)\n\n## NAME\n\nJSON::Whitespace - Alter the insignificant whitespace of JSON\n\n## SYNOPSIS\n\nuse JSON::Whitespace ':all';\nmy $in = <<EOF;\n{\n\"animals\":{\n\"kingkong\":\"🦍\"\n},\n\"baka\":[\n\"ドジ\"\n],\n\"fruit\":{\n\"grape\":\"🍇\"\n},\n\"moons\":{\n\"🌑\":0\n}\n}\nEOF\nmy $minify = jsonminify ($in);\nprint $minify;\nThis outputs\n{\"animals\":{\"kingkong\":\"🦍\"},\"baka\":[\"ドジ\"],\"fruit\":{\"grape\":\"🍇\"},\"moons\":{\"🌑\":0}}\n\n## DESCRIPTION\n\nThis module offers functions to manipulate the \"insignificant whitespace\" part of a JSON string\n(the whitespace which is not inside strings). According to the JSON specification \"insignificant\nwhitespace\" consists of space (%x20), horizontal tab (%x09), line feed or new line (%x0A) and\ncarriage return (%x0D).\n\n## Sections\n\n- **NAME**\n- **SYNOPSIS**\n- **VERSION**\n- **DESCRIPTION**\n- **FUNCTIONS**\n- **SEE ALSO**\n- **AUTHOR**\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "JSON::Whitespace",
        "section": "",
        "mode": "perldoc",
        "summary": "JSON::Whitespace - Alter the insignificant whitespace of JSON",
        "synopsis": "use JSON::Whitespace ':all';\nmy $in = <<EOF;\n{\n\"animals\":{\n\"kingkong\":\"🦍\"\n},\n\"baka\":[\n\"ドジ\"\n],\n\"fruit\":{\n\"grape\":\"🍇\"\n},\n\"moons\":{\n\"🌑\":0\n}\n}\nEOF\nmy $minify = jsonminify ($in);\nprint $minify;\nThis outputs\n{\"animals\":{\"kingkong\":\"🦍\"},\"baka\":[\"ドジ\"],\"fruit\":{\"grape\":\"🍇\"},\"moons\":{\"🌑\":0}}",
        "tldr_summary": null,
        "tldr_examples": [],
        "tldr_source": null,
        "flags": [],
        "examples": [],
        "see_also": [],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 25,
                "subsections": []
            },
            {
                "name": "VERSION",
                "lines": 5,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 5,
                "subsections": []
            },
            {
                "name": "FUNCTIONS",
                "lines": 10,
                "subsections": []
            },
            {
                "name": "SEE ALSO",
                "lines": 3,
                "subsections": []
            },
            {
                "name": "AUTHOR",
                "lines": 8,
                "subsections": []
            }
        ],
        "sections": {
            "NAME": {
                "content": "JSON::Whitespace - Alter the insignificant whitespace of JSON\n",
                "subsections": []
            },
            "SYNOPSIS": {
                "content": "use JSON::Whitespace ':all';\n\nmy $in = <<EOF;\n{\n\"animals\":{\n\"kingkong\":\"🦍\"\n},\n\"baka\":[\n\"ドジ\"\n],\n\"fruit\":{\n\"grape\":\"🍇\"\n},\n\"moons\":{\n\"🌑\":0\n}\n}\nEOF\nmy $minify = jsonminify ($in);\nprint $minify;\n\nThis outputs\n\n{\"animals\":{\"kingkong\":\"🦍\"},\"baka\":[\"ドジ\"],\"fruit\":{\"grape\":\"🍇\"},\"moons\":{\"🌑\":0}}\n",
                "subsections": []
            },
            "VERSION": {
                "content": "This documents version 0.61 of JSON::Whitespace corresponding to git commit\n033269fa8972fdce8626aa65cd11a5394ab50492\n<https://github.com/benkasminbullock/JSON-Parse/commit/033269fa8972fdce8626aa65cd11a5394ab50492>\nreleased on Thu Feb 11 09:14:04 2021 +0900.\n",
                "subsections": []
            },
            "DESCRIPTION": {
                "content": "This module offers functions to manipulate the \"insignificant whitespace\" part of a JSON string\n(the whitespace which is not inside strings). According to the JSON specification \"insignificant\nwhitespace\" consists of space (%x20), horizontal tab (%x09), line feed or new line (%x0A) and\ncarriage return (%x0D).\n",
                "subsections": []
            },
            "FUNCTIONS": {
                "content": "jsonindent\nmy $indented = jsonindent ($json);\n\nAdd indentation to $json.\n\njsonminify\nmy $minified = jsonminify ($json);\n\nRemove all whitespace, including trailing newlines, from $json.\n",
                "subsections": []
            },
            "SEE ALSO": {
                "content": "Documentation about JSON is in JSON::Parse. JSON::Whitespace is based on JSON::Tokenize, which\nbreaks JSON into tokens without putting it into Perl structures.\n",
                "subsections": []
            },
            "AUTHOR": {
                "content": "Ben Bullock, <bkb@cpan.org>\n\nCOPYRIGHT & LICENCE\nThis package and associated files are copyright (C) 2016-2021 Ben Bullock.\n\nYou can use, copy, modify and redistribute this package and associated files under the Perl\nArtistic Licence or the GNU General Public Licence.\n",
                "subsections": []
            }
        }
    }
}