ArthurSonzogni / json-tui

A JSON terminal UI made in C++
MIT License
334 stars 14 forks source link

ability to filter json contents with Json Path #30

Open goutham2688 opened 5 months ago

goutham2688 commented 5 months ago

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

ArthurSonzogni commented 5 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