Welcome! Please see the About page for a little more info on how this works.

0 votes
in Meta by
edited by

I want to develop a tool that ingests json into native clojure data-structure and then provides a jq /json-pointer like select/map/filter api or capabilities. I believe clojure-walk might solve this.

2 Answers

+2 votes
by

I wrote a tutorial on it. Do check it out.

https://www.abhinavomprakash.com/posts/clojure-walk/

by
Very helpful, thanks a lot!
+1 vote
by

I would not call them tutorials necessarily, but there are some examples of clojure.walk/walk and related functions like prewalk and postwalk on ClojureDocs.org here (and also follow links to related functions, or just search for them):

https://clojuredocs.org/clojure.walk/walk

Note especially the prewalk-demo function: https://clojuredocs.org/clojure.walk/prewalk-demo

...