Awesome Lists

to_collection

by AndyObtiva

Rubypushed over 3 years ago

Treat an array of objects and a singular object uniformly as a collection of objects. Especially useful in processing REST Web Service API JSON responses in a functional approach.

AI summary

Collection processor

Converts data to treat uniformly as a collection of objects, dropping nils out automatically

stars
0
forks
0
watching
3

Add a GitHub project

Missing a project or an awesome list? Paste its GitHub URL and we fetch it right away.