.. _`JSON`: .. _`org.sysess.sympathy.data.json.importjson`: JSON ==== .. image:: import_json_xml.svg :width: 48 **Documentation** Import a JSON or XML file to a JSON structure. If ``filtetype``is set to ``auto`` the program will try to guess if it is an XML or JSON file, based on the file extension and the content of the first line of the file. *URL datasource* If input datasource is a URL resource, the node will download it to a temporary file before importing it. If the URL resource contains credential variables, these will be entered as part of the URL. See :ref:`Credentials Preferences` for more info. **Definition** *Input ports* :: datasource Datasource *Output ports* :port1: json Imported Json *Configuration*: **Importer** (active_importer) Select data format importer **Action on import failure** (fail_strategy) Decide how failure to import a file should be handled. .. automodule:: node_import_json :noindex: .. class:: ImportJson :noindex: **Plugins** * :ref:`plugin_jsondataimporterbase`