To run the code from this chapter, you need to install the serialization plugin for IntelliJ IDEA. Use this link and the following steps to download the latest version: https://bintray.com/kotlin/kotlinx/kotlinx.serialization.plugin:
- To install this plugin, you should open Preferences | Plugins | INSTALL PLUGIN FROM DISK...:
![](https://static.packt-cdn.com/products/9781789617726/graphics/assets/1ee14859-43d0-4625-ac68-4f467de1ee26.png)
- Choose the downloaded .zip archive and press Apply.
You should also add the following line in the repositories section of the build.gradle file:
maven { url "https://kotlin.bintray.com/kotlinx" }
In addition, you should add this line to the dependencies section:
implementation "org.jetbrains.kotlinx:kotlinx-serialization-runtime:0.6.1"
You can find examples from this chapter on GitHub at: https://github.com/PacktPublishing/Hands-On-Object-Oriented-Programming-with-Kotlin/tree/master/src/main/kotlin/Chapter09...