{
    "mode": "ri",
    "parameter": "Psych::Coder",
    "section": "",
    "url": "https://www.chedong.com/phpMan.php/ri/Psych%3A%3ACoder/json",
    "generated": "2026-06-02T15:04:17Z",
    "sections": {
        "Psych::Coder < Object": {
            "content": "(from gem psych-5.4.0)\n------------------------------------------------------------------------\nIf an object defines encodewith, then an instance of Psych::Coder will\nbe passed to the method when the object is being serialized.  The Coder\nautomatically assumes a Psych::Nodes::Mapping is being emitted.  Other\nobjects like Sequence and Scalar may be emitted if seq= or scalar= are\ncalled, respectively.\n------------------------------------------------------------------------",
            "subsections": []
        },
        "Class methods:": {
            "content": "new\n",
            "subsections": []
        },
        "Instance methods:": {
            "content": "[]\n[]=\nadd\nimplicit\nmap\nmap=\nobject\nrepresentmap\nrepresentobject\nrepresentscalar\nrepresentseq\nscalar\nscalar=\nseq\nseq=\nstyle\ntag\ntype\n",
            "subsections": []
        },
        "Attributes:": {
            "content": "attraccessor implicit\nattraccessor object\nattraccessor style\nattraccessor tag\nattrreader seq\nattrreader type\n",
            "subsections": []
        }
    },
    "flags": [],
    "examples": [],
    "see_also": []
}