So, in order to get Map<String, Map<String, Object>> to marshal/unmarshal
I'll have to use a mapping file just for this object? 



Werner Guttmann wrote:
> 
> Hi,
> 
> darrickc wrote:
>> Or do I have to start using a mapping file if I want this sort of
>> Marshalling/Unmarshalling to work? 
> Yes, but with the auto-complete feature in place, just map whatever is
> required and leave the rest to the introspector.
> 
>> Up to this point I've just used
>> Introspection instead of a mapping file as I have relatively simple
>> objects
>> to marshal. Now I want to have a Map <String, Map<String, CustomObject>>
>> marshalled through Castor. I've tried to implement this with
>> introspection
>> but when I unmarshal I run into problems as it's complaining about not
>> being
>> able to cast from MapItem to java.util.Map. I would much prefer to
>> continue
>> using introspection as deploying a mapping file would really be a pain
>> for
>> me.
> Really ? Why ?
> 
>> Any help would be greatly appreciated!
>> 
>> Thanks in advance.
>> 
> 
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
> 
>     http://xircles.codehaus.org/manage_email
> 
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Is-a-Map-in-a-Map-%28nested-Map%29-possible-with-Introspection--tp21592701p21592937.html
Sent from the Castor - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to