Why is this invalid? ` ```data class File(val stat...
# announcements
w
Why is this invalid? `
Copy code
data class File(val state: String, val integrationId: Int, val archiveId: String, val sysTag: String, @field:JsonSerialize(using = ToStringSerializer.class) val _id: ObjectId = ObjectId())
z
What error message are you getting? First of all it should be
::class
not
.class
in your annotation.
w
That was it! Thank you