specter

itaied 2023-05-21T14:49:54.868589Z

how can i navigate into nested (recursively) data structure and transform the number values?

{:rows [{:rows 2}, {:rows [{:rows 3}]}]}
into
{:rows [{:rows "2%"}, {:rows [{:rows "3%"}]}]}

steveb8n 2023-05-22T04:44:33.885489Z

you’ll find the answer here https://github.com/redplanetlabs/specter/wiki/Using-Specter-Recursively

🙌 1