fineract-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Praharsh Bisht <praha...@ezcred.in>
Subject Re: Cannot obtain response
Date Tue, 16 May 2017 20:14:30 GMT
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

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message