Kotlin
kotlinlang.org › api › kotlinx.serialization › kotlinx-serialization-json › kotlinx.serialization.json › -json
Json | kotlinx.serialization – Kotlin Programming Language
Decodes and deserializes the given JSON string to the value of type T using deserializer retrieved from the reified type parameter.
Stack Overflow
stackoverflow.com › questions › 34716697 › how-do-i-deserialize-json-into-a-listsometype-with-kotlin-jackson
How do I deserialize JSON into a List<SomeType> with Kotlin + Jackson - Stack Overflow
What is the correct syntax to deserialize the following JSON: [ { "id" : "1", "name" : "Blues" }, { "id" : "0", "name" : "Rock" } ] I tried: //Works OK val dtos = mapper.readValue(json...
How to Deserialize Inconsistent JSON Data With a Custom ...
02:32
Understanding Serialization and Deserialization for Android ...
05:53
Navigating with Kotlin Object | JSON De/Serialisation : Jetpack ...
21:15
How To Deserialize JSON To Kotlin Data Classes Using Spring Boot ...
05:53
Kotlin with Ktor 03 - Adding Jackson for JSON serialization - YouTube
17:55
JSON Object String to Kotlin Data Class - YouTube
ZetCode
zetcode.com › kotlin › json
Kotlin JSON - JSON serialization and deserialization in Kotlin
January 29, 2024 - The kotlinx.serialization is a Kotlin library for serialization. The toJson method serializes the specified object into its equivalent JSON representation.
Codecademy
codecademy.com › docs › kotlin › serialization › .decodefromstring()
Kotlin | Serialization | .decodeFromString() | Codecademy
December 7, 2023 - The .decodeFromString() function is provided by the Kotlin Serialization library, used for deserializing data from a string representation (in JSON format) into a Kotlin object.
Baeldung
baeldung.com › home › libraries › jackson support for kotlin
Jackson Support for Kotlin | Baeldung on Kotlin
August 26, 2026 - Next, when we deserialize the map, we need to make sure to specify the key and value types: @Test fun whenDeserializeMap_thenSuccess() { val json = """{"1":"one","2":"two"}""" val aMap: Map<Int,String> = mapper.readValue(json) assertEquals(aMap[1], "one") assertEquals(aMap[2], "two") } Now, we’ll see how to serialize collections in Kotlin.
GitHub
github.com › Kotlin › kotlinx.serialization › blob › master › docs › json.md
kotlinx.serialization/docs/json.md at master · Kotlin/kotlinx.serialization
For example, you might need to tweak the data before it can parse or otherwise work with such an unstructured data that it does not readily fit into the typesafe world of Kotlin serialization. The main concept in this part of the library is JsonElement. Read on to learn what you can do with it. A string can be parsed into an instance of JsonElement with the Json.parseToJsonElement function. It is called neither decoding nor deserialization because none of that happens in the process.
Kotlin
kotlinlang.org › docs › serialization.html
Serialization | Kotlin Documentation
1 month ago - Deserialization is the opposite process of converting external data back into a runtime object. Together, they are essential to most applications that exchange data with third parties.
Kotlin
kotlinlang.org › api › kotlinx.serialization › kotlinx-serialization-json › kotlinx.serialization.json › -json-content-polymorphic-serializer
JsonContentPolymorphicSerializer | kotlinx.serialization – Kotlin Programming Language
Second, selectDeserializer function is called to determine which serializer should be used. The returned serializer is used to deserialize JsonElement back to Kotlin object.
Kotlin
kotlinlang.org › docs › serialization-configure-json-serialization.html
JSON serialization overview | Kotlin Documentation
1 month ago - Deserialize JSON strings back to Kotlin objects with the decodeFromString() function. Work directly with the JsonElement when handling complex JSON structures using the encodeToJsonElement() and the decodeFromJsonElement() functions.
Kotlin
kotlinlang.org › api › kotlinx.serialization › kotlinx-serialization-json › kotlinx.serialization.json
kotlinx.serialization.json | kotlinx.serialization – Kotlin Programming Language
Deserializes the given json element into a value of type T using a deserializer retrieved from reified type parameter.
MojoAuth
mojoauth.com › serialize-and-deserialize › serialize-and-deserialize-json-with-kotlin
Serialize and Deserialize JSON with Kotlin | Serialize & Deserialize Data Across Languages
September 20, 2025 - Working with JSON data in Kotlin can become cumbersome without the right tools. This guide shows you how to efficiently serialize Kotlin objects into JSON strings and deserialize JSON into Kotlin objects using libraries like kotlinx.serialization. You'll learn to handle common data structures and configurations.
Medium
medium.com › javarevisited › type-driven-deserialization-in-kotlin-using-jackson-a0b2b5a729a1
Type driven Deserialization in Kotlin using Jackson | by Janani Subbiah | Javarevisited | Medium
October 2, 2024 - data class Person( val name: String, val type: PersonType, @JsonTypeInfo( use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.EXTERNAL_PROPERTY, property = "type", visible = true ) @JsonSubTypes(value = [ JsonSubTypes.Type(value = Student::class, name = "student"), JsonSubTypes.Type(value = Employee::class, name = "employee") ]) val info: PersonInfo ) enum class PersonType { @JsonProperty("student") STUDENT, @JsonProperty("employee") EMPLOYEE } interface PersonInfo data class Student( val grade: Int ): PersonInfo data class Employee( val salary: Int ): PersonInfo · Now if we wanted to test