.. _`Create Json`: .. _`org.sysess.sympathy.create.createjson`: Create Json ``````````` .. image:: create_json.svg :width: 48 Documentation ::::::::::::: Create Json by writing a python expression which evaluates to normal python values, that is, dictionaries, lists, floats, integers, strings and booleans. Optional input port, named arg, can be used in the expression. Have a look at the :ref:`Data type APIs` to see what methods and attributes are available on the data type that you are working with. Definition :::::::::: Input ports ........... **arg** | Type: | Description: Input | Optional number of ports: 0--1 (default: 0) Output ports ............ **output** | Type: json | Description: Output Configuration ............. **(no label)** (code) Python expression that evaluates to a json-serilizable object. Related nodes ............. * :ref:`org.sysess.sympathy.jsoncalculator` Examples ........ Example flows demonstrating this node: * :download:`JSON.syx ` * :download:`InputOutputGenerate.syx ` The node can be found in: * :download:`ConfigurationPort.syx ` * :download:`json_examples.syx ` * :download:`Html.syx ` * :download:`random_forest_regressor.syx ` * :download:`MongoDBtoTable.syx ` Implementation .............. .. automodule:: node_create_json :noindex: .. class:: CreateJSON :noindex: