#11 Morphing elements in JSONArray.toCollection

closed-fixed
nobody
None
5
2010-12-01
2010-01-11
Arnout Engelen
No

I noticed even when adding a collection to the classmap, Integers ended up in my List<Long>'s.

Added a unittest to TestUserSubmitted, modified JSONArray.toCollection to morph array contents instead of throwing an exception right away.

Refactored 'PrefixerPropertyNameProcessor' to its own class to make surefire happy - all unittests now succeed again.

Discussion

  • aalmiray
    aalmiray
    2010-12-01

    • status: open --> closed
     
  • aalmiray
    aalmiray
    2010-12-01

    Patch applied. Thanks!

     
  • aalmiray
    aalmiray
    2010-12-01

    • status: closed --> closed-fixed