1
1
mirror of https://github.com/wader/fq.git synced 2024-12-25 22:34:14 +03:00
fq/internal/gojqextra
Mattias Wadman c57dc17d17 gojq: Rebase fq fork
Expose number parse validate functions, will be used later by text format decoders:
gojq.ValidNumber(s string)
gojq.NormalizeNumber(v json.Number)
gojq.NormalizeNumbers(v interface{})

From upstream:
Fixes: Regression since dace191 (fix fromjson to keep integer precision (close #172)) (https://github.com/itchyny/gojq/issues/178)
otherwise mostly cosmetic and cleanups since last rebase
2022-07-03 11:55:28 +02:00
..
error.go interp: Cast jq value to go value properly for encoding functions 2022-05-30 18:27:12 +02:00
regexp.go Add *grep/1/2 and find/1/2 2021-10-13 01:27:04 +02:00
totype.go gojqextra: Cleanup gojq type cast code 2022-06-20 18:02:35 +02:00
types.go gojq: Rebase fq fork 2022-07-03 11:55:28 +02:00