We add new dependencies for parsing JSON messages as a Ktor web server.
What are the changes implemented in this PR?
The added dependencies have the following usage:
com.fasterxml.jackson.core:jackson-annotations lets us add jackson annotations to data classes to, for example, ignore some optional or excessive fields while parsing a JSON message.
io.ktor:ktor-server-content-negotiation-jvm lets us apply content negotiation for a Ktor web server (previously, it was only needed for Ktor clients).
What is the goal of this PR?
We add new dependencies for parsing
JSON
messages as aKtor
web server.What are the changes implemented in this PR?
The added dependencies have the following usage:
com.fasterxml.jackson.core:jackson-annotations
lets us addjackson
annotations todata class
es to, for example, ignore some optional or excessive fields while parsing aJSON
message.io.ktor:ktor-server-content-negotiation-jvm
lets us apply content negotiation for aKtor
web server (previously, it was only needed forKtor
clients).