Open goutham2688 opened 8 months ago
Sounds like a good idea!
I am reading JSON using nlohman::json. It supports JSON pointer: https://github.com/nlohmann/json?tab=readme-ov-file#json-pointer-and-json-patch but it doesn't support JSON path.
I guess the easiest way to support this feature would be to move toward: https://github.com/danielaparker/jsoncons
or jq
filter maybe ?
https://jqlang.github.io/jq/tutorial/
a input box to edit the filter so that don't have to tune jq filter in cmd again and again
and it'll perfect if the input support autocomplete
Thank you for the library. Do you think adding ability to filter the json contents interactively. Fits in the scope for json-tui?
https://github.com/brunerd/jsonpath?tab=readme-ov-file#jsonpath-syntax