1
1
mirror of https://github.com/wader/fq.git synced 2024-11-28 19:58:35 +03:00
fq/format/json
Mattias Wadman 824e51ec58 gojq: Update fq fork
Rebase fq changes on latester gojq main.

Most notable change visiable to users is that gojq now allows queries
as object literal values. For example this now works: {a: 1+2+3}

From upstream:
083fb39 refactor code using built-in min and max functions
470db58 bump up to Go 1.23, drop support for Go 1.20
0607aa5 bump up version to 0.12.16
0709341 update CHANGELOG.md for v0.12.16
1324e6e update dependencies
01355e9 improve parser to allow binary operators as object values
a41a5f8 fix debug/1 function to be available only when debug/0 is defined
f694c1b fix a benchmark test BenchmarkCompile
f2559f6 remove private compare function
0cd3a66 improve compiler to abort with error if query is missing
422cc9d refactor stringify function declarations of query
1130c4e refactor program body, rename rules, remove empty actions in parser
8d7ccc9 add tests for immutability of arrays
375e90d remove useless receivers
1b5ce7f set correct offset for multibyte tokens
8874f53 fix tests of exp10 and atan2 failing on some platforms
2024-08-19 14:15:02 +02:00
..
testdata gzip: Correctly handle multiple members 2023-10-24 10:45:32 +02:00
jq.go format,intepr: Refactor json, yaml, etc into formats also move out related functions 2022-07-23 21:48:45 +02:00
jq.jq gojq: Update fq fork 2024-08-19 14:15:02 +02:00
json.go Update github-golangci-lint to 1.60.1 from 1.59.1 2024-08-14 20:05:40 +02:00
json.jq interp: Rename to/from<format> functions to to_/from_<format> 2022-12-21 17:48:39 +01:00
jsonl.go formats: Clenaup naming a bit 2023-05-01 13:19:04 +02:00
jsonl.jq jsonl: Add decoder, also tojsonl encoder 2022-08-15 19:43:59 +02:00