🌐
Maven Repository
mvnrepository.com › artifact › org.jetbrains.kotlinx › kotlinx-serialization-json-jvm
Maven Repository: org.jetbrains.kotlinx » kotlinx-serialization-json-jvm
April 9, 2026 - Current Group · Group · Kotlin Extensions · org.jetbrains.kotlinx · Description · Kotlin Extensions is a library that provides a set of extensions for the Kotlin language · Links · Related Categories · JSON Libraries · JSON Schema Libraries
About
Welcome to MvnRepository! My name is Fernando Rodriguez Olivera, and I'm the founder of this website · MvnRepository is a free service that indexes the Maven repositories, providing developers with a fast and easy way to search for packages and their dependencies.
Popular
Indexed Artifacts (67.3M) · Categories (277) · Maven Plugins · Testing · Android Packages · Language Runtime · JVM Languages · Logging Frameworks · JSON Libraries · Java Specifications
Categories
Indexed Artifacts (67.1M) · Categories (277) · Maven Plugins · Testing · Android Packages · Language Runtime · JVM Languages · Logging Frameworks · JSON Libraries · Java Specifications
Maven Repository
Indexed Artifacts (67.8M) · Categories (277) · Maven Plugins · Testing · Android Packages · Language Runtime · JVM Languages · Logging Frameworks · JSON Libraries · Java Specifications
🌐
Maven Central
central.sonatype.com › artifact › org.jetbrains.kotlinx › kotlinx-serialization-json
org.jetbrains.kotlinx:kotlinx-serialization-json - Maven Central
--> <!-- do_not_remove: published-with-gradle-metadata --> <modelVersion>4.0.0</modelVersion> <groupId>org.jetbrains.kotlinx</groupId> <artifactId>kotlinx-serialization-json</artifactId> <version>1.11.0</version> <name>kotlinx-serialization-json</name> <description>Kotlin multiplatform serialization runtime library</description> <url>https://github.com/Kotlin/kotlinx.serialization</url> <licenses> <license> <name>Apache-2.0</name> <url>https://www.apache.org/licenses/LICENSE-2.0.txt</url> <distribution>repo</distribution> </license> </licenses> <developers> <developer> <id>JetBrains</id> <name
🌐
GitHub
github.com › kotlin › kotlinx.serialization
GitHub - Kotlin/kotlinx.serialization: Kotlin multiplatform / multi-format serialization · GitHub
After setting up the plugin, you have to add a dependency on the serialization library. Note that while the plugin has version the same as the compiler one, runtime library has different coordinates, repository and versioning. ... repositories { mavenCentral() } dependencies { implementation("org.jetbrains.kotlinx:kotlinx-serialization-json:1.11.0") }
Starred by 5.9K users
Forked by 677 users
Languages   Kotlin 99.9% | Java 0.1%
🌐
Maven Repository
mvnrepository.com › artifact › org.jetbrains.kotlinx › kotlinx-serialization-json
Maven Repository: org.jetbrains.kotlinx » kotlinx-serialization-json
April 9, 2026 - Current Group · Group · Kotlin Extensions · org.jetbrains.kotlinx · Description · Kotlin Extensions is a library that provides a set of extensions for the Kotlin language · Links · Related Categories · JSON Libraries · JSON Schema Libraries
🌐
Maven Central
central.sonatype.com › artifact › org.jetbrains.kotlinx › kotlinx-serialization-json-jvm
Maven Central: org.jetbrains.kotlinx:kotlinx-serialization-json-jvm
--> <!-- do_not_remove: published-with-gradle-metadata --> <modelVersion>4.0.0</modelVersion> <groupId>org.jetbrains.kotlinx</groupId> <artifactId>kotlinx-serialization-json-jvm</artifactId> <version>1.10.0</version> <name>kotlinx-serialization-json</name> <description>Kotlin multiplatform serialization runtime library</description> <url>https://github.com/Kotlin/kotlinx.serialization</url> <licenses> <license> <name>Apache-2.0</name> <url>https://www.apache.org/licenses/LICENSE-2.0.txt</url> <distribution>repo</distribution> </license> </licenses> <developers> <developer> <id>JetBrains</id> <
🌐
Maven Central
central.sonatype.com › artifact › org.jetbrains.kotlinx › kotlinx-serialization-core › 1.5.1
Maven Central: org.jetbrains.kotlinx:kotlinx-serialization-core:1.5.1
<dependency> <groupId>org.jetbrains.kotlinx</groupId> <artifactId>kotlinx-serialization-core</artifactId> <version>1.5.1</version> </dependency> ... <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <!-- This module was also published with a richer model, Gradle metadata, --> <!-- which should be used instead.
🌐
Kotlin
kotlinlang.org › docs › serialization.html
Serialization | Kotlin Documentation
June 16, 2026 - Some data serialization formats, such as JSON and Protocol Buffers, are particularly common. These formats are language-neutral and platform-neutral, so you can use them to exchange data between systems written in any modern language. Kotlin provides this functionality through the kotlinx.seri...
🌐
Reddit
reddit.com › r/kotlin › can't use kotlinx.serialization with maven
r/Kotlin on Reddit: can't use kotlinx.serialization with maven
January 26, 2021 -

I have followed the instructions provided on the kotlinx.serialization github page but when I try to serialize my class, it throws the following runtime exception

Mark the class as @Serializable or provide the serializer explicitly.

My assumption is that compiler plugin is not kicking in. The dependency only downloaded when I ran kotlin:compile from maven and is issuing the following warning

[INFO] Scanning for projects...
[INFO] 
[INFO] ----------------------< net.Kilobyte1000:ElectFX >----------------------
[INFO] Building ElectFX 1.0-SNAPSHOT
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] 
[INFO] --- kotlin-maven-plugin:1.4.21:compile (default-cli) @ ElectFX ---
[INFO] Applied plugin: 'kotlinx-serialization'
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by com.intellij.util.ReflectionUtil (file:/C:/Users/Name/.m2/repository/org/jetbrains/kotlin/kotlin-compiler/1.4.21/kotlin-compiler-1.4.21.jar) to method java.util.ResourceBundle.setParent(java.util.ResourceBundle)
WARNING: Please consider reporting this to the maintainers of com.intellij.util.ReflectionUtil
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  7.557 s
[INFO] Finished at: 2021-01-25T12:16:21+05:30
[INFO] ------------------------------------------------------------------------

Here is my pom file, in case it provides any help

xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
    <modelVersion>4.0.0</modelVersion>
    <groupId>net.Kilobyte1000</groupId>
    <artifactId>ElectFX</artifactId>
    <version>1.0-SNAPSHOT</version>
    <properties>
        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
        <maven.compiler.source>14</maven.compiler.source>
        <maven.compiler.target>14</maven.compiler.target>
        <kotlin.version>1.4.21</kotlin.version>
        <serialization.version>1.0.1</serialization.version>
    </properties>
    <dependencies>
        <dependency>
            <groupId>org.openjfx</groupId>
            <artifactId>javafx-controls</artifactId>
            <version>14</version>
        </dependency>
        <dependency>
            <groupId>org.openjfx</groupId>
            <artifactId>javafx-fxml</artifactId>
            <version>14</version>
        </dependency>
        <dependency>
            <groupId>org.jfxtras</groupId>
            <artifactId>jmetro</artifactId>
            <version>11.6.12</version>
        </dependency>
        <dependency>
            <groupId>com.jfoenix</groupId>
            <artifactId>jfoenix</artifactId>
            <version>9.0.10</version>
        </dependency>
        <dependency>
            <groupId>org.jetbrains.kotlin</groupId>
            <artifactId>kotlin-stdlib-jdk8</artifactId>
            <version>${kotlin.version}</version>
        </dependency>
        <dependency>
            <groupId>org.jetbrains.kotlin</groupId>
            <artifactId>kotlin-test</artifactId>
            <version>${kotlin.version}</version>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>org.apache.commons</groupId>
            <artifactId>commons-text</artifactId>
            <version>1.9</version>
        </dependency>
        <dependency>
            <groupId>org.jetbrains.kotlinx</groupId>
            <artifactId>kotlinx-serialization-json-jvm</artifactId>
            <version>${serialization.version}</version>
            <scope>compile</scope>
        </dependency>
    </dependencies>
    <build>
        <plugins>
            <plugin>
                <groupId>org.openjfx</groupId>
                <artifactId>javafx-maven-plugin</artifactId>
                <version>0.0.4</version>
                <configuration>
                    <mainClass>edu.opjms.candidateSelector.main.Main</mainClass>
                    <launcher>start</launcher>
                    <jlinkImageName>ElectFX</jlinkImageName>
                    <compress>2</compress>
                    <noManPages>true</noManPages>
                    <noHeaderFiles>true</noHeaderFiles>
                </configuration>
            </plugin>
            <plugin>
                <groupId>com.gluonhq</groupId>
                <artifactId>client-maven-plugin</artifactId>
                <version>0.1.26</version>
                <configuration>
                    <mainClass>edu.opjms.candidateSelector.main.Main</mainClass>
                </configuration>
            </plugin>
            <plugin>
                <groupId>org.jetbrains.kotlin</groupId>
                <artifactId>kotlin-maven-plugin</artifactId>
                <version>${kotlin.version}</version>
                <executions>
                    <execution>
                        <id>compile</id>
                        <phase>compile</phase>
                        <goals>
                            <goal>compile</goal>
                        </goals>
                    </execution>
                    <execution>
                        <id>test-compile</id>
                        <phase>test-compile</phase>
                        <goals>
                            <goal>test-compile</goal>
                        </goals>
                    </execution>
                </executions>
                <configuration>
                    <jvmTarget>14</jvmTarget>
                    <compilerPlugins>
                        <plugin>kotlinx-serialization</plugin>
                    </compilerPlugins>
                </configuration>
                <dependencies>
                    <dependency>
                        <groupId>org.jetbrains.kotlin</groupId>
                        <artifactId>kotlin-maven-serialization</artifactId>
                        <version>1.4.21</version>
                    </dependency>
                </dependencies>
            </plugin>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-compiler-plugin</artifactId>
                <version>3.8.0</version>
                <executions>
                    <execution>
                        <id>compile</id>
                        <phase>compile</phase>
                        <goals>
                            <goal>compile</goal>
                        </goals>
                    </execution>
                    <execution>
                        <id>testCompile</id>
                        <phase>test-compile</phase>
                        <goals>
                            <goal>testCompile</goal>
                        </goals>
                    </execution>
                </executions>
                <configuration>
                    <release>14</release>
                    <source>14</source>
                    <target>14</target>
                </configuration>
            </plugin>

        </plugins>
    </build>
</project>
🌐
Maven Repository
mvnrepository.com › artifact › org.jetbrains.kotlinx › kotlinx-serialization-core
Maven Repository: org.jetbrains.kotlinx » kotlinx-serialization-core
April 9, 2026 - org.jetbrains.kotlinx · Description · Kotlin Extensions is a library that provides a set of extensions for the Kotlin language. Links · Object Serialization · YAML Parsers · BSON Serialization · Data Formats · Maven Plugins · Testing · Android Packages ·
Find elsewhere
🌐
Maven Central
central.sonatype.com › artifact › org.jetbrains.kotlinx › kotlinx-serialization-json › 1.0.0
org.jetbrains.kotlinx:kotlinx-serialization-json:1.0.0
<dependency> <groupId>org.jetbrains.kotlinx</groupId> <artifactId>kotlinx-serialization-json</artifactId> <version>1.0.0</version> </dependency> ... <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <!-- This module was also published with a richer model, Gradle metadata, --> <!-- which should be used instead.
🌐
Maven Central Repository
search.maven.org › artifact › org.jetbrains.kotlinx › kotlinx-serialization-json › 1.0.0 › pom
org.jetbrains.kotlinx:kotlinx-serialization-json:1.0.0
--> <!-- do_not_remove: published-with-gradle-metadata --> <modelVersion>4.0.0</modelVersion> <groupId>org.jetbrains.kotlinx</groupId> <artifactId>kotlinx-serialization-json</artifactId> <version>1.0.0</version> <dependencies> <dependency> <groupId>org.jetbrains.kotlinx</groupId> <artifactId>kotlinx-serialization-json-jvm</artifactId> <version>1.0.0</version> <scope>compile</scope> </dependency> </dependencies> <name>kotlinx-serialization-json</name> <description>Kotlin multiplatform serialization runtime library</description> <url>https://github.com/Kotlin/kotlinx.serialization</url> <license
🌐
Maven Central
central.sonatype.com › artifact › org.jetbrains.kotlinx › kotlinx-serialization-core
org.jetbrains.kotlinx:kotlinx-serialization-core - Maven Central
--> <!-- do_not_remove: published-with-gradle-metadata --> <modelVersion>4.0.0</modelVersion> <groupId>org.jetbrains.kotlinx</groupId> <artifactId>kotlinx-serialization-core</artifactId> <version>1.10.0</version> <name>kotlinx-serialization-core</name> <description>Kotlin multiplatform serialization runtime library</description> <url>https://github.com/Kotlin/kotlinx.serialization</url> <licenses> <license> <name>Apache-2.0</name> <url>https://www.apache.org/licenses/LICENSE-2.0.txt</url> <distribution>repo</distribution> </license> </licenses> <developers> <developer> <id>JetBrains</id> <name
🌐
Maven Repository
mvnrepository.com › artifact › org.jetbrains.kotlin.plugin.serialization
Maven Repository: org.jetbrains.kotlin.plugin.serialization
Kotlin compiler plugin for kotlinx.serialization library ... aar android apache api arm assets build build-system bundle client clojure cloud config cran data database eclipse example extension framework github gradle groovy io ios javascript jvm kotlin library logging maven mobile module npm ...
🌐
Maven Repository
mvnrepository.com › artifact › org.jetbrains.kotlin › kotlinx-serialization
Maven Repository: org.jetbrains.kotlin » kotlinx-serialization
Kotlinx Serialization · BT Kotlin Dev (1) Central · Atlassian External · Atlassian · WSO2 Releases · WSO2 Public · Hortonworks · JCenter · KtorEAP · Mulesoft · Sonatype · aar android apache api application arm assets build build-system bundle client clojure cloud config cran data database eclipse example extension framework github gradle groovy io ios javascript kotlin library logging maven mobile module npm osgi plugin resources rlang sdk server service spring sql starter testing tools ui war web webapp ·
🌐
Stack Overflow
stackoverflow.com › questions › 78321428 › how-to-use-kotlinx-serialization-without-build-tools-maven-gradle-and-so-on
kotlin - How to use kotlinx.serialization without build tools (Maven, Gradle, and so on)? - Stack Overflow
I never tried this myself, but you probably need to download this jar: mvnrepository.com/artifact/org.jetbrains.kotlin/… and then pass this argument to kotlinc command: -Xplugin=kotlinx-serialization-compiler-plugin.jar.
🌐
GitHub
github.com › JetBrains › kotlin › blob › master › plugins › kotlinx-serialization › README.md
kotlin/plugins/kotlinx-serialization/README.md at master · JetBrains/kotlin
Go to $kotlin_root/libraries/tools/kotlin-maven-serialization. Run mvn install. Follow the common Kotlin's contribution guidelines. In general, create an issue in Kotlin's YouTrack or kotlinx.serialization's GitHub to discuss suggested changes beforehand.
Author   JetBrains
🌐
Maven Repository
mvnrepository.com › artifact › org.jetbrains.kotlin › kotlinx-maven-serialization-plugin
Maven Repository: org.jetbrains.kotlin » kotlinx-maven-serialization-plugin
Home » org.jetbrains.kotlin » kotlinx-maven-serialization-plugin · Serialization plugin for Maven · LicenseApache 2.0 · Tagspluginbuildbuild-systemserializationmavenkotlinjetbrains · Ranking#971677 in MvnRepository (See Top Artifacts) Central (5) BT Kotlin Dev (118) BT Kotlin EAP (3) Central ·
🌐
Maven Central
repo1.maven.org › maven2 › org › jetbrains › kotlinx › kotlinx-serialization-json › 1.6.3 › kotlinx-serialization-json-1.6.3.pom
https://repo1.maven.org/maven2/org/jetbrains/kotlinx/ ...
https://github.com/Kotlin/kotlinx.serialization · org.jetbrains.kotlinx · kotlinx-serialization-bom · 1.6.3 · pom · import · org.jetbrains.kotlinx · kotlinx-serialization-json-jvm · 1.6.3 · compile ·