Re: [Simple-support] how to limit deserialization depth?
Brought to you by:
niallg
|
From: Niall G. <gal...@ya...> - 2011-03-16 10:44:27
|
@Root
public class Content{
@Element
private String elementA;
@Path("elementB")
@Element
private String elementC;
}
--- On Sat, 12/3/11, Alain Dechorgnat <ade...@gm...> wrote:
From: Alain Dechorgnat <ade...@gm...>
Subject: [Simple-support] how to limit deserialization depth?
To: sim...@li...
Received: Saturday, 12 March, 2011, 7:39 AM
Hi
I'd like to limit the deserialization depth.
My XML looks like:
<content>
<elementA>valueA</elementA
<elementB>
<elementC>valueC</elementC>
</elementB>
</content>
I'd like to declare elementB as String and get <elementC>valueC</elementC> as its value.
Is it possible and how do I manage this?
Alain
-----Inline Attachment Follows-----
------------------------------------------------------------------------------
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
-----Inline Attachment Follows-----
_______________________________________________
Simple-support mailing list
Sim...@li...
https://lists.sourceforge.net/lists/listinfo/simple-support
|