New issue 368 by swarab...@gmail.com: the XMLGregorianCalendar datatype is
not supported by gson API
http://code.google.com/p/google-gson/issues/detail?id=368
What steps will reproduce the problem?
1. If a POJO has a variable of the XMLGregorianCalendar datatype, the
result is null.
2.
3.
What is the expected output? What do you see instead?
It should be Date.
What version of the product are you using? On what operating system?
gSon 1.2.3 and Windows 7
Please provide any additional information below.
I have application from which XML can be converted to json and vice versa.
The following variable in my POJO with the datatype of XMLGregorianCalendar
for date is null in my output.
protected XMLGregorianCalendar doj;
Please help me ASAP.
Regards,
Harish
Comment #1 on issue 368 by limpbiz...@gmail.com: the XMLGregorianCalendar
datatype is not supported by gson API
http://code.google.com/p/google-gson/issues/detail?id=368
Install your own type adapter! And you should avoid reporting bugs against
ancient versions of GSON.