Improve javadoc for all addons (#15667)
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
This commit is contained in:
@@ -30,8 +30,9 @@ import com.google.gson.stream.JsonWriter;
|
||||
import com.google.gson.stream.MalformedJsonException;
|
||||
|
||||
/**
|
||||
* The {@link GsonColonDateTypeAdapter} class is a custom TypeAdapter factory to ensure deserialization always returns a
|
||||
* list even if the Json document contains only a single curfew object and not an array.
|
||||
* The {@link SurePetcareDeviceCurfewListTypeAdapterFactory} class is a custom TypeAdapter factory to ensure
|
||||
* deserialization always returns a list even if the Json document contains only a single curfew object and
|
||||
* not an array.
|
||||
*
|
||||
* See https://stackoverflow.com/questions/43412261/make-gson-accept-single-objects-where-it-expects-arrays
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user