{
    "mode": "perldoc",
    "parameter": "BSON::String",
    "section": "",
    "url": "https://www.chedong.com/phpMan.php/perldoc/BSON%3A%3AString/json",
    "generated": "2026-06-09T15:26:27Z",
    "synopsis": "use BSON::Types ':all';\nbsonstring( $string );",
    "sections": {
        "NAME": {
            "content": "BSON::String - BSON type wrapper for strings\n",
            "subsections": []
        },
        "VERSION": {
            "content": "version v1.12.2\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "use BSON::Types ':all';\n\nbsonstring( $string );\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "This module provides a BSON type wrapper for a string value.\n\nSince Perl does not distinguish between numbers and strings, this module provides an explicit\nstring type for a scalar value.\n",
            "subsections": []
        },
        "ATTRIBUTES": {
            "content": "value\nA scalar value, which will be stringified during construction. The default is the empty string.\n",
            "subsections": []
        },
        "METHODS": {
            "content": "TOJSON\nReturns value as a string.\n",
            "subsections": []
        },
        "OVERLOADING": {
            "content": "The stringification operator (\"\") is overloaded to return the \"value\", the full \"minimal set\" of\noverloaded operations is provided (per overload documentation) and fallback overloading is\nenabled.\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::String - BSON type wrapper for strings",
    "flags": [],
    "examples": [],
    "see_also": []
}