Hi, maybe it’s a sort of FAQ question but anyway -...
# klaxon
y
Hi, maybe it’s a sort of FAQ question but anyway - here is my data class with
values
property
Copy code
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 :
Copy code
{
    "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