jq-rs icon indicating copy to clipboard operation
jq-rs copied to clipboard

Raw output mode

Open jonas-kell opened this issue 2 years ago • 2 comments

I realize that the documentation says, that yet basically no features of jq are exposed than the basic functionality.

Still in my mind probably the most essential thing to toggle is the "raw-output" (-r on command line jq).

I just put this here, in case this is trivial for someone smarter than me, because looking into the src-code of c- bindings I'm instantly in way over my head.

I'll try if I can figure this out on my self, but I'm kindof hesitant whether it may be easier to just shell out for my simple usecase... (https://gitlab.com/mathezirkel/mathezirkel-app/backend/-/blob/fa95ce470a547dd9ebfa09554717a37823639676/src/main.rs#L77)

jonas-kell avatar Oct 16 '23 09:10 jonas-kell

My brain has started hurting because I never wrote C before, and I am not great at rust either, but I think I figured out how to do this, so I'll take a shot at making a PR.

rafaeltab avatar Apr 26 '24 21:04 rafaeltab

Opened up a draft PR #47

rafaeltab avatar Apr 28 '24 01:04 rafaeltab