SteveSanderson/knockout.mapping — pull request #64 by jeremywiebe (2012-04-11 13:36:59+00:00)
Title: Add property name translation support.

This commit adds the ability to provide a 'propertyNameTranslator' function when mapping fromJS(). I needed this because my js model casing did not match my ASP.NET MVC view model casing (I didn't want my C# view models having property names that started in lowercase and vice versa).

The behavior that I wrote demonstrates the usage. I'm not sure if I got all of the places that may need this translation though. I'm not sure this is a relevant change to the knockout.mapping plugin or if it's something that anyone else would want, but I'm offering it up for now.