Mattias Wadman

Results 832 comments of Mattias Wadman

@mathieu-aubin hey, replied here https://github.com/wader/static-ffmpeg/issues/217#issuecomment-1172865260

@pkoppstein beat me to it :) If the issue is specifically `\\"` you might be able to do something like `jq -Rs 'gsub("\\\\\"";"\"") | fromjson'` but i suspect it might...

Hey, I think you have understood it correctly. If your curious you can check [builtin.jq](https://github.com/stedolan/jq/blob/master/src/builtin.jq) for how it's implemented `def map_values(f): .[] |= f;` (`map` is `def map(f): [.[] |...

Det samma! hoppas allt är bra :) You can read in #2305 about the status of jq, i really hope something can be sorted out.

Nice find, looks like a bug in `jv_parse.c:stream_token`. Maybe a workaround for now is something like `jq --stream '.[0][] | nulls | error("null path entry")'`? But i'm not sure how...

> With the proposed selectors applied, "NOT OK" goes just a line down, quite nothing's won. ;) Aha ok, didn't see that. With jq master it seems to be a...

Yes jq master seems to be consistent: ```sh $ sh test-jq.sh jq-1.6-139-ga9ce724 OK, that version of jq consistently validates input no matter if --stream mode is on or off. OK,...

Actually i think i'm mistaken, i noticed now that jq master exits with 0 on all (?) parse errors. Strange, wonder what could have changed this. If i add `-e`...