News for hackers. Stuff that matters.

samleb34

Show HN: String#to_proc` to Help Traversing JSON

https://github.com/samleb/schmuck

I've resuscitated a project I was working on years ago.I was tired of having nested `flat_map` making my code basically unreadable just to fetch a simple value. The idea is to make simple & readable the traversing of deeply nested structures like JSON responses, while staying in Ruby & keeping its flexibility. Here it goes: ...

( Read More... | no comments | on HN )