Logging++
This commit is contained in:
parent
6e25d1e67f
commit
7375a5a847
@ -7,4 +7,7 @@ object WGson {
|
||||
val gson = GsonBuilder()
|
||||
.registerTypeAdapter(LocalDateTime::class.java, LocalDateTimeAdapter())
|
||||
.create()
|
||||
fun toJson(data: Any?): String {
|
||||
return gson.toJson(data)
|
||||
}
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user