Logging++

This commit is contained in:
bskjon 2025-02-23 21:09:40 +01:00
parent 6e25d1e67f
commit 7375a5a847

View File

@ -7,4 +7,7 @@ object WGson {
val gson = GsonBuilder()
.registerTypeAdapter(LocalDateTime::class.java, LocalDateTimeAdapter())
.create()
fun toJson(data: Any?): String {
return gson.toJson(data)
}
}