Deep Hash transformation using Lambdas

Carlos Baraza
Jul 3, 2015 · 1 min read

Today I had the need in my job of implementing a similar behaviour of what Rails hash method .deep_symbolize_keys does. Here is a possible implementation of a deep recursive hash transformation, using recursive lambdas.

Originally published at on July 3, 2015.

Carlos Baraza

Written by

Extremely addicted to life, technology, science, music and keyboards. Founder of myself.