Class JSON.LocalDateTypeAdapter

java.lang.Object
com.google.gson.TypeAdapter<LocalDate>
org.apache.fineract.client.util.JSON.LocalDateTypeAdapter
Enclosing class:
JSON

public static class JSON.LocalDateTypeAdapter extends com.google.gson.TypeAdapter<LocalDate>
GSON TypeAdapter for JSR-310 LocalDate type, which Fineract API's RETURNS as JSON array in the [2009,1,1] format, but EXPECTS as String not Array and with a locale and dateFormat. Weird, but so it is (see FINERACT-1220 invalid input: '&' FINERACT-1233).
  • Constructor Details

    • LocalDateTypeAdapter

      public LocalDateTypeAdapter()
  • Method Details