Hi ``` install(ContentNegotiation) { g...
# ktor
a
Hi
Copy code
install(ContentNegotiation) {
        gson {
            setDateFormat(DateFormat.LONG)
            excludeFieldsWithoutExposeAnnotation()
        }
    }
Even with
excludeFieldsWithoutExposeAnnotation
, it is serializing fields without Expose. Am I missing something?
o
How do you send content?
a
call.respond(Model(/*data*/))