Open wader opened 1 year ago
Thanks for your feedback!
Oh, I did not worked on my jsondiff for a while !
Each time I tried to convert to a jq-only solution ... I had performance issues that forced me to revert to use the diff
command.
Note: I only got performance issue on big dataset (that exists at my work).
If I can get free time, I will consider your code ! ;-)
Aha yes, i have no idea how performant my version is, so could be problem.
Hey, was poking around in your various jq repos for inspiration. Nice to find someone else have thought about how to represent diffs between json values as json, might steal this notation for use with some fq snippet.
Also maybe this code can be interesting? https://github.com/wader/fq/blob/6279cda7bca7e31cc2da772ce235b85ff5289dae/pkg/interp/funcs.jq#L120-L143 with some effort it can probably be used to output "path"-diffs also if your looking for a pure jq-version.