Expand description
python — run a Python snippet in the embedded runtime and return
its output as JSON.
--code is executed with the optional --input JSON value exposed
as the global input (the same harness the --python output
transform uses). The script’s output — its trailing expression
value, else captured stdout — is returned as a serde_json::Value;
a script that produces no output yields JSON null.