Skip to content

JQ

The JQ node type applies the same filter language as defined b y the jq(1) command-line tool to an input JSON value, and outputs another JSON value produced by the specified jq expression.

It is a transform node, with a single input and output port, each accepting UTF-8 encoded bytestrings.

from pyrophone.script import *
@main
def graph():
return (
... |
JQ(expr=".headers") |
...
)