Passing stream output JSON to another program #609
-
Hello, I'm using evans cli on Linux to receive periodical multi-line JSONs from a gRPC server. Can evans itself redirect its output to another program? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
I don't know about your program, but how about using evans ... | jq -c . | ./your-program |
Beta Was this translation helpful? Give feedback.
I don't know about your program, but how about using
jq
to pass JSON output to your program?-c
option modifies each JSON object on a single line.