agamsol
agamsol
> Could you post an example with input, query, actual and expected output? But sounds like you want `?` or `try`. template.txt ``` "[].commit.sha=\(.[].commit.sha)", "array[1]=\(.array[1])" ``` Command: ```bat call "%~dp0\jq.exe"...
I would like to mention that I am using jq in windows operating system (cmd.exe) I still couldn't understand what to do in order to solve the problem
> I guess change template.txt to: > > ``` > "[].commit.sha=\(.[].commit.sha)"?, "array[1]=\(.array[1])"? > ``` Its fine now, The thing is that if the key doesn't exist it says `null` is...
> A bit cryptic maybe but this probably works: > > ``` > "[].commit.sha=\(.[].commit.sha | values)"?, "array[1]=\(.array[1] | values)"? > ``` > > It could probably be made more readable...
I tried many times, could you try and let me know?
> > Could you post an example with input, query, actual and expected output? But sounds like you want `?` or `try`. > > template.txt > > ``` > "[].commit.sha=\(.[].commit.sha)",...
> Works fine, do elaborate the exact issue or close this issue. For me it only deletes my messages and not all messages, I do have the MANAGE_MESSAGES permission
> > For me it only deletes my messages and not all messages, I do have the MANAGE_MESSAGES permission > > when you say "all messages" you mean other people's...
What i want to do is to add the [jsonextractor.bat](https://github.com/npocmaka/batch.scripts/blob/master/hybrids/jscript/jsonextractor.bat) in to a batch file but call it as a label and not a file how can i do that?
i mean, being able to merge the json exectutor with my main batch script by calling it as a function example: ```bat @echo off REM calling the function to parse...