{
    "mode": "perldoc",
    "parameter": "BSON::MaxKey",
    "section": "",
    "url": "https://www.chedong.com/phpMan.php/perldoc/BSON%3A%3AMaxKey/json",
    "generated": "2026-06-11T12:33:21Z",
    "synopsis": "use BSON::Types ':all';\nbsonmaxkey();",
    "sections": {
        "NAME": {
            "content": "BSON::MaxKey - BSON type wrapper for MaxKey\n",
            "subsections": []
        },
        "VERSION": {
            "content": "version v1.12.2\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "use BSON::Types ':all';\n\nbsonmaxkey();\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "This module provides a BSON type wrapper for the special BSON \"MaxKey\" type. The object returned\nis a singleton.\n",
            "subsections": []
        },
        "METHODS": {
            "content": "TOJSON\nIf the \"BSONEXTJSON\" option is true, returns a hashref compatible with MongoDB's extended JSON\n<https://github.com/mongodb/specifications/blob/master/source/extended-json.rst> format, which\nrepresents it as a document as follows:\n\n{\"$maxKey\" : 1}\n\nIf the \"BSONEXTJSON\" option is false, an error is thrown, as this value can't otherwise be\nrepresented in JSON.\n",
            "subsections": []
        },
        "AUTHORS": {
            "content": "*   David Golden <david@mongodb.com>\n\n*   Stefan G. <minimalist@lavabit.com>\n",
            "subsections": []
        },
        "COPYRIGHT AND LICENSE": {
            "content": "This software is Copyright (c) 2020 by Stefan G. and MongoDB, Inc.\n\nThis is free software, licensed under:\n\nThe Apache License, Version 2.0, January 2004\n",
            "subsections": []
        }
    },
    "summary": "BSON::MaxKey - BSON type wrapper for MaxKey",
    "flags": [],
    "examples": [],
    "see_also": []
}