Update:
On going deeper into the code, i got
builder.registerTypeAdapter(LocalDate.class, new JodaLocalDateAdapter())
which serializes date as json as
array = new JsonArray();
array.add(new JsonPrimitive(src.getYearOfEra()));
array.add(new JsonPrimitive(src.getMonthOfYear()));
array.add(new JsonPrimitive(src.getDayOfMonth()));
So i need to recognise array as date. Can someone help me with this as this
not much different from a normal json array, so how do i recognize this as
date?
Thanks,
Praharsh