arturadib/agility — pull request #103 by jonathaneunice (2013-05-06 02:19:32+00:00)
Title: Data Indirection, Massage, and Transformation

I needed a way to get data from a web framework that doesn't give it back entirely "cleanly." For example, it doesn't hand back a list of data items in a simple JSON array; it hands back an object with a single attribute that names the list of data items. Also, servers and clients often have different needs and expectations about the JSON data they're jointly using. This patch provide a simple but quite general mechanism to do data transforms as data is loaded, saved, or gathered.