xp-framework/xp-framework — pull request #144 by Stormwind (2012-04-05 07:54:27+00:00)
Title: Some improvements of the RestDataCaster

Hi,

I've made some changes in the RestDataCaster.

* added support for MapType
* now you can cast arrays into objects, which contain arrays. (This didn't work before because e.g. 'lang.types.String[]' is no XPClass. So I've replaced it with Type.)
* Make all fields optional, if the the flag $ignoreNullFields is TRUE

The last point may be a behavior change in the caster, because all fields were required before. So now it would be the issue of the user to check, if all necessary fields are set.