$ cat node-template.py

J

JSON Break

// Decomposes a JSON object or array into individual output ports. Configure via the wizard to select which properties or items to expose.

Process
Data
template.py
1import json2import sys345def main():6    try:7        raw = json.loads(sys.stdin.read())8        inputs = raw.get("inputs", {})9        json_input = inputs.get("json")1011        if json_input is None:12            print(json.dumps({13                "error": "No JSON input received. Connect a JSON source or enter JSON in the widget.",14            }), file=sys.stderr)15            sys.exit(1)1617        print(json.dumps({18            "error": "Not configured yet. Click 'Configure Outputs' to select which properties to expose.",19        }), file=sys.stderr)20        sys.exit(1)2122    except Exception as e:23        print(json.dumps({24            "error": str(e),25            "errorType": type(e).__name__,26        }), file=sys.stderr)27        sys.exit(1)282930if __name__ == "__main__":31    main()

$ git log --oneline

v3.0.0
HEAD
2026-05-07