more tests with gson (de)serialiser

This commit is contained in:
minjaesong
2019-02-23 17:40:13 +09:00
parent 73dfab206e
commit 8cc9b98a12
4 changed files with 38 additions and 54 deletions

View File

@@ -7,7 +7,9 @@ import com.google.gson.JsonObject
*/
interface GsonSerialisable {
/**
* Will modify itself according to the input gson. Not sure it's even necessary so please test.
*/
fun read(gson: JsonObject)
fun write(targetGson: JsonObject)
}