{
    "mode": "perldoc",
    "parameter": "SOAP::Deserializer",
    "section": "",
    "url": "https://www.chedong.com/phpMan.php/perldoc/SOAP%3A%3ADeserializer/json",
    "generated": "2026-06-10T00:02:53Z",
    "sections": {
        "NAME": {
            "content": "SOAP::Deserializer - the means by which the toolkit manages the conversion of XML into an object\nmanageable by a developer\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "SOAP::Deserializer provides the means by which incoming XML is decoded into a Perl data\nstructure.\n",
            "subsections": []
        },
        "METHODS": {
            "content": "context\nThis provides access to the calling context of \"SOAP::Deserializer\". In a client side\ncontext the often means a reference to an instance of SOAP::Lite. In a server side context\nthis means a reference to a SOAP::Server instance.\n",
            "subsections": []
        },
        "EXAMPLES": {
            "content": "DESERIALIZING RAW XML INTO A SOAP::SOM OBJECT\nA useful utility for SOAP::Deserializer is for parsing raw XML documents or fragments into a\nSOAP::SOM object. SOAP::Lite developers use this technique to write unit tests for the\nSOAP::Lite module itself. It is a lot more efficient for testing aspects of the toolkit than\ngenerating client calls over the network. This is a perfect way for developers to write unit\ntests for their custom data types for example.\n\nHere is an example of how raw XML content can be parsed into a SOAP::SOM object by using\nSOAP::Deserializer:\n\n$xml = <<ENDXML;\n<foo>\n<person>\n<foo>123</foo>\n<foo>456</foo>\n</person>\n<person>\n<foo>789</foo>\n<foo>012</foo>\n</person>\n</foo>\nENDXML\n\nmy $som = SOAP::Deserializer->deserialize($xml);\n",
            "subsections": []
        },
        "COPYRIGHT": {
            "content": "Copyright (C) 2000-2004 Paul Kulchenko. All rights reserved.\n\nThis library is free software; you can redistribute it and/or modify it under the same terms as\nPerl itself.\n",
            "subsections": []
        },
        "AUTHORS": {
            "content": "Byrne Reese (byrne@majordojo.com)\n",
            "subsections": []
        }
    },
    "summary": "SOAP::Deserializer - the means by which the toolkit manages the conversion of XML into an object manageable by a developer",
    "flags": [],
    "examples": [
        "DESERIALIZING RAW XML INTO A SOAP::SOM OBJECT",
        "A useful utility for SOAP::Deserializer is for parsing raw XML documents or fragments into a",
        "SOAP::SOM object. SOAP::Lite developers use this technique to write unit tests for the",
        "SOAP::Lite module itself. It is a lot more efficient for testing aspects of the toolkit than",
        "generating client calls over the network. This is a perfect way for developers to write unit",
        "tests for their custom data types for example.",
        "Here is an example of how raw XML content can be parsed into a SOAP::SOM object by using",
        "SOAP::Deserializer:",
        "$xml = <<ENDXML;",
        "<foo>",
        "<person>",
        "<foo>123</foo>",
        "<foo>456</foo>",
        "</person>",
        "<person>",
        "<foo>789</foo>",
        "<foo>012</foo>",
        "</person>",
        "</foo>",
        "ENDXML",
        "my $som = SOAP::Deserializer->deserialize($xml);"
    ],
    "see_also": []
}