Add HelloTech jq filters

This commit is contained in:
Buddy Sandidge 2021-07-23 13:46:38 -07:00
parent c68de4867b
commit acf3dbdec7

6
hellotech/.jq/ht.jq Normal file
View File

@ -0,0 +1,6 @@
def lift_payload: .[].jsonPayload;
def lift_error:
lift_payload
| select(.error)
| .error.Error |= (sub("\n+$"; ""; "gm") | sub("\t\\*"; " →"; "g"))
;