Package org.apache.fineract.client.util
Class JSON
java.lang.Object
org.apache.fineract.client.util.JSON
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classGSON TypeAdapter for java.util.Date type.static final classstatic classThis wrapper is to take care of this case: when the deserialization fails due to JsonParseException and the expected type is String, then just return the body string.static classGSON 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.static classGSON TypeAdapter for JSR-310 OffsetDateTime type.static classGSON TypeAdapter for java.sql.Date type. -
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
JSON
public JSON()
-