Create Json

../../../../_images/create_json.svg

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 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: <a>
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.

Examples

Example flows demonstrating this node:

The node can be found in:

Implementation

class node_create_json.CreateJSON[source]