<version>版本号</version> </dependency> <dependency> <groupId>org.jetbrains.kotlinx</groupId> <artifactId>kotlinx-serialization-core</artifactId> <version>版本号</version> </dependency> </dependencies> ...
This release fixes this problem and now kotlinx-serialization-hocon is available again with 1.7.1 version. No other changes were made to this artifact. Related ticket: #2717. Add integration with a kotlinx-io library kotlinx-io is an official multiplatform library that provides basic IO pr...
Update kotlinx-io version to 0.6.0 (#2933) (thanks to Piotr Krzemiński) Bugfixes Fix incorrect enum coercion during deserialization from JsonElement (#2962) Supply proper equals(), hashCode(), and toString() for SerialDescriptor() wrapper (#2942) Do not encode empty packed collec...
Version 1.2 completely overhauls the internal structure ofkotlinx.serialization, resulting in significantly better performance for this core functionality. We have rewritten our JSON decoder (responsible for turning text into Kotlin objects), and we’ve made significant optimizations to our JSON encoder ...
1.8.0-RC / 2024-12-10 This is a release candidate for the next version. It is based on Kotlin 2.1.0 and includes a few new features, as well as bugfixes and improvements: @JsonIgnoreUnknownKeysannotation Previously, only global settingJsonBuilder.ignoreUnknownKeyscontrolled whether Json parser...
Use explicit kotlin-stdlib and kotlin-test versions from version catalog (#2818) Drop usage of deprecated Any?.freeze() in K/N target (#2819) Check against serialName instead of simpleClassName (#2802) Ignore NoClassDefFoundError when initializing builtins map for serializer() function (#2803) ...
Bumps org.jetbrains.kotlinx:kotlinx-serialization-json from 1.5.0 to 1.5.1. Release notes Sourced from org.jetbrains.kotlinx:kotlinx-serialization-json's releases. 1.5.1 This release contains an ...
val format = Json { explicitNulls = false } @Serializable data class Project( val name: String, val language: String, val version: String? = "1.2.2", val website: String?, val description: String? = null ) fun main() { val data = Project("kotlinx.serialization", "Kotlin", null,...
Describe the bug I am trying to parse a JSON file from Reddit and I am unable to parse JSON while the browser and nodejs are able to do so. It crashes with: JsonDecodingException: Unexpected JSON token at offset 181: Expected start of th...
ANDROID_VERSION:'9'APP_VERSION_NAME:1.17.0AVAILABLE_MEM_SIZE:6106750976BRAND:xiaomiDATE:'2023-08-07'Message-ID:$2b$12$e90ae071677281e411e4fuQJx.o25X/.qlbIwAwV5qZhxOZ/g4iXuPACKAGE_NAME:org.fdroid.fdroidPHONE_MODEL:Mi A1STACK_TRACE_HASH:491a9a94USER_COMMENT:'' ...