Pure elixir implemention jq - how do you deal with deep level json?

,

jq is really great to read deep level json response. there is pure go implemention of jq like this.

there are some libs about jq in hex or github, but it seems they are not mature.

how do you guys deal with deep level json?

Jason.decode then Map.get or Enum.map/filter?

1 Like

Lens like accessors through Kernel.get_in/2 usually works sufficiently well.

6 Likes

Thank you, i tried to play it with some json files. Yes, it usually works sufficiently well. just another style of syntax :+1:

I use Pathex