[json-lib-user] toBean
Brought to you by:
aalmiray
From: <las...@in...> - 2006-09-06 14:50:35
|
Hi, =20 In the project webpage there is so few information about how to use = toBean method with lists.. =84The second case is similar and it happens when the target bean has a Collection (List) as a property and it must contain other beans. In this case there is no way to provide hints for class conversion. The only possible solution is to postprocess the collection transforming each DynaBean into an specific bean.=20 To ease the postprocessing scenarios, Json-lib has a Morpher capable of transforming a DynaBean into an specific bean, <http://json-lib.sourceforge.net/apidocs/net/sf/json/util/DynaBeanToBeanM= orp her.html> DynaBeanToBeanMorpher=20 =94 =20 Could you give me some samples? =20 Regards, Lazlo =20 |