Skip to content

Commit

Permalink
added readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Holger Brandl committed Nov 7, 2021
1 parent 41902e6 commit dccc1e6
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
## Koin Serialization with Kryo

Supplementary example for https://github.com/EsotericSoftware/kryo/issues/864


The repo contains multiple examples, where I have tried to narrow down the issue.
* KryoLambda.kt - generic kotlin labmda, **works** in both ways with kryo
* KryoDefinition.kt - generic lambda, wrapped into other types **works** in both ways with kryo (includes KryoLambda)
* KryoBeanDefinition.kt - more complex wrapper around KryoDefinition, **fails to work with kryo**
* KryoInstanceFactory.kt - Includes KryoBeanDefinition, but does not work.

* These examples arose from my original usecase, which is serializing/deserializing an instance of https://insert-koin.io/

0 comments on commit dccc1e6

Please sign in to comment.