yurik
10/23/2019, 8:32 AMvalues
property
data class TimestampPrimitivePropertyValue(
val propertyId: String,
...
val values: List<Date>
) : PrimitivePropertyValue { ... }
that I want to serialize to the array of unix timestamp if the form json int’s array :
{
"propertyId" : "myTimestampProp",
"values" : [ 1571819348000, ... ]
}
if it was a some object, not a collection property I’ve use to annotate it and (de) serialize it with custom converter like it is mentioned in the docs