Horatio Thomas
10/06/2025, 7:27 AMAleksei Tirman [JB]
10/06/2025, 7:44 AMencodeDefaults property for all default formats is set to true. Сan you describe how to reproduce the inconsistency?Horatio Thomas
10/06/2025, 7:46 AMHoratio Thomas
10/06/2025, 7:46 AMHoratio Thomas
10/06/2025, 7:47 AMAleksei Tirman [JB]
10/06/2025, 7:56 AMjson method while configuring the ContentNegotiation plugin, a predefined DefaultJson object is used that has the encodeDefaults property set to true . When you create an instance of the KotlinxWebsocketSerializationConverter , you have to provide your own instance of the format. For consistency, you can use the DefaultJson object when creating an instance of KotlinxWebsocketSerializationConverter or use a shared instance of the format in both places.Horatio Thomas
10/06/2025, 8:01 AM