MOZGIII

Results 132 comments of MOZGIII

I know of all those, and I used them before, by my problem this time is simple: macos. ๐Ÿ˜†

It doesn't work properly, I tried both. Parsing works, however the resulting string values (in a deserialized object) are not correct - they're not looking right when printed. I assume...

I was using `receive` syntax, where `MyClass` has `String` fields. So, is it supposed to work?

I definitely expected for it to just work. I mean, I expected `Content-Type: application/json` to be enough here for deserialization to switch to proper JSON (with `UTF-8` instead of `ISO-8859-1`).

Server-side only. I use that deserialized object with Apache PDFBox later on to fill in the forms in PDFs.

This is an extract from my code: ``` embeddedServer(Netty, port = getPort()) { install(DefaultHeaders) install(CallLogging) install(CORS) { anyHost() } install(ContentNegotiation) { jackson { registerKotlinModule() } } routing { ``` Do...

Actually, this is my whole main fn (simplified): ```kotlin fun main(args: Array) { val pdfContentType = ContentType("application", "pdf") embeddedServer(Netty, port = getPort()) { install(DefaultHeaders) install(CallLogging) install(CORS) { anyHost() } install(ContentNegotiation)...

Sample request body: `{"a":"ั‚ะตัั‚"}`