{
    "content": [
        {
            "type": "text",
            "text": "# RDF::Redland::Serializer (perldoc)\n\n## NAME\n\nRDF::Redland::Serializer - Redland RDF Serializing to Syntax Class\n\n## SYNOPSIS\n\nuse RDF::Redland;\n...\nmy $serializer=new RDF::Redland::Serializer(\"ntriples\");\n$serializer->serializemodeltofile(\"foo.rdf\", $baseuri, $model);\n\n## DESCRIPTION\n\nThis class represents serializers that turn RDF graphs into various syntaxes. from an\nRDF::Redland::Model object.\n\n## Sections\n\n- **NAME**\n- **SYNOPSIS**\n- **DESCRIPTION**\n- **CONSTRUCTORS**\n- **METHODS**\n- **SEE ALSO**\n- **AUTHOR**\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "RDF::Redland::Serializer",
        "section": "",
        "mode": "perldoc",
        "summary": "RDF::Redland::Serializer - Redland RDF Serializing to Syntax Class",
        "synopsis": "use RDF::Redland;\n...\nmy $serializer=new RDF::Redland::Serializer(\"ntriples\");\n$serializer->serializemodeltofile(\"foo.rdf\", $baseuri, $model);",
        "tldr_summary": null,
        "tldr_examples": [],
        "tldr_source": null,
        "flags": [],
        "examples": [],
        "see_also": [],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 7,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 3,
                "subsections": []
            },
            {
                "name": "CONSTRUCTORS",
                "lines": 5,
                "subsections": []
            },
            {
                "name": "METHODS",
                "lines": 16,
                "subsections": []
            },
            {
                "name": "SEE ALSO",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "AUTHOR",
                "lines": 2,
                "subsections": []
            }
        ],
        "sections": {
            "NAME": {
                "content": "RDF::Redland::Serializer - Redland RDF Serializing to Syntax Class\n",
                "subsections": []
            },
            "SYNOPSIS": {
                "content": "use RDF::Redland;\n\n...\nmy $serializer=new RDF::Redland::Serializer(\"ntriples\");\n\n$serializer->serializemodeltofile(\"foo.rdf\", $baseuri, $model);\n",
                "subsections": []
            },
            "DESCRIPTION": {
                "content": "This class represents serializers that turn RDF graphs into various syntaxes. from an\nRDF::Redland::Model object.\n",
                "subsections": []
            },
            "CONSTRUCTORS": {
                "content": "new [NAME [MIMETYPE [URI]]]\nCreate a new RDF::Redland::Serializer object for a syntax serializer named *NAME*, with MIME\nType *MIMETYPE* and/or URI *URI*. Any field can be undef or omitted; if all are omitted,\nthe default serializer is used, currently 'ntriples'.\n",
                "subsections": []
            },
            "METHODS": {
                "content": "serializemodeltofile FILENAME BASEURI MODEL\nSerialize the RDF Graph *MODEL* as syntax with the base RDF::Redland::URI *BASEURI* to file\n*FILENAME*.\n\nserializemodeltostring BASE-URI MODEL\nSerialize the RDF Graph *MODEL* to a syntax. If no serializer name is given, the default\nserializer RDF/XML is used.\n\nsetnamespace PREFIX URI\nDefine a namespace *URI* with the supplied *PREFIX* for use in serializing an RDF Graph.\n\nfeature URI [VALUE]\nGet/set a serializer feature. The feature is named via RDF::Redland::URI *URI* and the value\nis a string. If *VALUE* is given, the feature is set to that value, otherwise the current\nvalue is returned.\n",
                "subsections": []
            },
            "SEE ALSO": {
                "content": "RDF::Redland::Parser, RDF::Redland::URI\n",
                "subsections": []
            },
            "AUTHOR": {
                "content": "Dave Beckett - http://www.dajobe.org/\n",
                "subsections": []
            }
        }
    }
}