![]() ![]() ![]() Each platform then received JSON files, with no (or limited) ability to change them - making the conversion to in-memory video projects tricky. This required creating platform agnostic JSON files representing these projects. But, when the JSON files differ from the way we want to represent them in Kotlin, there are some edge cases that force us to add complexities to the default serialization.Īs part of our latest feature, we needed to create cross-platform video projects. Usually, the default serializer does all of the work for us. We use the Kotlin serialization library, because it’s compatible with Kotlin, has a faster runtime than Gson or Moshi, and can run on other platforms with multiplatform support. ![]() In our time, we’ve had first-hand experience of the best (and worst) that Kotlin serialization has to offer. Here at Lightricks, we develop photo and video editing apps that do both. through a server) or saves information to a database, serialization is unavoidable. However, if you’re developing an app that passes files around (e.g. Serialization - we can’t pretend it’s a topic that gets many hearts racing. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |