We're sorry but this page doesn't work properly without JavaScript enabled. Please enable it to continue.
Feedback

Data Classes and Parsing Json - A Story About Converting Models to Kotlin

Formale Metadaten

Titel
Data Classes and Parsing Json - A Story About Converting Models to Kotlin
Serientitel
Anzahl der Teile
90
Autor
Lizenz
CC-Namensnennung 3.0 Unported:
Sie dürfen das Werk bzw. den Inhalt zu jedem legalen Zweck nutzen, verändern und in unveränderter oder veränderter Form vervielfältigen, verbreiten und öffentlich zugänglich machen, sofern Sie den Namen des Autors/Rechteinhabers in der von ihm festgelegten Weise nennen.
Identifikatoren
Herausgeber
Erscheinungsjahr
Sprache

Inhaltliche Metadaten

Fachgebiet
Genre
Abstract
The announcement of Kotlin's first class support at Google I/O 2017 is only one year old and its popularity is growing rapidly ever since. At Kitchen Stories we fell in love with Kotlin and we are migrating our code base gradually to leverage the features Kotlin provides us. One of our first migrations was changing all Models assembling the JSON structure from our API. In this session I want to take you along the journey on how and why we migrated all our ""POJOs"" to ""POKOs"". You will learn how you can write better models using Kotlin's Data Classes and how you can leverage features like constructor default values and non-nullable fields for more robust JSON parsing.