XDev.KotlinX.Serialization.Json.Io 1.8.1.1

dotnet add package XDev.KotlinX.Serialization.Json.Io --version 1.8.1.1
                    
NuGet\Install-Package XDev.KotlinX.Serialization.Json.Io -Version 1.8.1.1
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="XDev.KotlinX.Serialization.Json.Io" Version="1.8.1.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="XDev.KotlinX.Serialization.Json.Io" Version="1.8.1.1" />
                    
Directory.Packages.props
<PackageReference Include="XDev.KotlinX.Serialization.Json.Io" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add XDev.KotlinX.Serialization.Json.Io --version 1.8.1.1
                    
#r "nuget: XDev.KotlinX.Serialization.Json.Io, 1.8.1.1"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package XDev.KotlinX.Serialization.Json.Io@1.8.1.1
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=XDev.KotlinX.Serialization.Json.Io&version=1.8.1.1
                    
Install as a Cake Addin
#tool nuget:?package=XDev.KotlinX.Serialization.Json.Io&version=1.8.1.1
                    
Install as a Cake Tool

Introduction

Nuget packaging for the kotlinx-serialization-json-io native kotlin library. This package is named XDev.KotlinX.Serialization.Json.Io and wraps org.jetbrains.kotlinx:kotlinx-serialization-json-io (both the common and -jvm Kotlin-multiplatform variants) — the bridge that lets kotlinx-serialization encode/decode JSON directly to/from kotlinx-io Source/Sink streams. The "XDev" root in the package name allows room for JetBrains/Microsoft to publish an official NuGet package in the future, and allows simple replacement of this one for that one, if that ever occurs.

kotlinx-serialization-json-io is a transitive requirement of ktor-serialization-kotlinx-json in Ktor 3 (the new IO refactor); no existing NuGet wrapper carries it, so this package fills that gap. It depends on the published XDev.KotlinX.IO package for the kotlinx-io-core dependency, plus the official Xamarin.KotlinX.Serialization.* packages.

Latest release <a href="https://www.nuget.org/packages/XDev.KotlinX.Serialization.Json.Io"> <img src="https://img.shields.io/nuget/v/XDev.KotlinX.Serialization.Json.Io"></a>

Latest build    <a href="https://www.nuget.org/packages/XDev.KotlinX.Serialization.Json.Io"> <img src="https://img.shields.io/nuget/vpre/XDev.KotlinX.Serialization.Json.Io"></a>

source repo

<br>

The native lib in maven:

native repo: https://github.com/Kotlin/kotlinx.serialization

Getting Started

To use this nuget package, just install the desired version as you normally install nuget packs.

  • Note this repo repackages the kotlinx-serialization-json-io jars into .aar files to support android.
  • It depends on the published XDev.KotlinX.IO and Xamarin.KotlinX.Serialization.* packages.

Build and Test

https://learn.microsoft.com/en-us/dotnet/android/features/maven/android-maven-library

Versions

Contribute

If you need a different/newer version, PR, or open an issue in the .Net repo! https://dev.azure.com/xdevapps/Android%20bindings/_git/XDev.Jetbrains.InteropLibs

Product Compatible and additional computed target framework versions.
.NET net8.0-android34.0 is compatible.  net9.0-android was computed.  net10.0-android was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on XDev.KotlinX.Serialization.Json.Io:

Package Downloads
XDev.IO.Ktor

Ktor is an asynchronous framework for creating microservices, web applications and more. Written in Kotlin from the ground up.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.8.1.1 0 6/10/2026
1.7.3.1 87 6/6/2026

Wraps kotlinx-serialization-json-io (the JSON <-> kotlinx-io bridge), a new sibling of
     kotlinx-serialization-json required transitively by Ktor 3's ktor-serialization-kotlinx-json. Depends on
     the published XDev.KotlinX.IO package and the official Xamarin.KotlinX.Serialization.* packages so that
     we're compatible with Maui-targeted apps.