users@jersey.java.net
Re: [Jersey] Polymorphic deserialization of JSON?
This message
: [
Message body
] [ More options (
top
,
bottom
) ]
Related messages
: [
Next message
] [
Previous message
] [
In reply to
] [
Next in thread
] [
Replies
]
Contemporary messages sorted
: [
by date
] [
by thread
] [
by subject
] [
by author
] [
by messages with attachments
]
From
: Felipe Gaúcho <
fgaucho_at_gmail.com
>
Date
: Sun, 10 May 2009 11:16:10 +0200
You also can use a xsd:choice element:
http://www.w3schools.com/Schema/el_choice.asp
and then to define what kind of types are supported by your choice..
not so elegant, but it should serialize without problems..
This message
: [
Message body
]
Next message
:
James Allchin: "Jersey - StreamingOutput with JAXB Beans"
Previous message
:
Marc Hadley: "Re: [Jersey] primitive types - best response format ??"
In reply to
:
Felipe Gaúcho: "Re: [Jersey] Polymorphic deserialization of JSON?"
Next in thread
:
Tatu Saloranta: "Re: [Jersey] Polymorphic deserialization of JSON?"
Reply
:
Tatu Saloranta: "Re: [Jersey] Polymorphic deserialization of JSON?"
Contemporary messages sorted
: [
by date
] [
by thread
] [
by subject
] [
by author
] [
by messages with attachments
]