mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-06-14 20:44:05 +09:00
more tests with gson (de)serialiser
This commit is contained in:
@@ -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)
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user