You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi guys,
Really impressed by the high quality of this library. Congrats. 🥇
A little bit hard to use at the beginning, but I'm still a little bit new to clojure, and I start with non-trivial cases 😜
I'm parsing a json structure (maps and collections), in which I want to drop some intermediate levels but keep the subtree: so I expect a submap to be move at a higher level.
I achieved the following recursive path, finding exactly what I am seeking:
Hi guys,
Really impressed by the high quality of this library. Congrats. 🥇
A little bit hard to use at the beginning, but I'm still a little bit new to clojure, and I start with non-trivial cases 😜
I'm parsing a json structure (maps and collections), in which I want to drop some intermediate levels but keep the subtree: so I expect a submap to be move at a higher level.
I achieved the following recursive path, finding exactly what I am seeking:
But when trying to achieve my modifications, I didn't find a better way than doing it in vanilla clojure:
and then apply it with a transform:
This works exactly as wanted, dropping :a even if nested, and moving :j submap to the upper level:
My issue is that I would like to apply recursively these transformations, so the following:
should move
[:y :z]
directly at the root map -->{:y :z}
Instead, I find
{:j {:y :z}
.Please help 🆘 , I don't even know where to search...
The text was updated successfully, but these errors were encountered: