Technical requirements

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:

  1. To install this plugin, you should open Preferences | PluginsINSTALL PLUGIN FROM DISK...:

  1. 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.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.118.12.157