HelpChat / ChatChat

ChatChat - Coming Soon
MIT License
52 stars 33 forks source link

Switched to JsonDeserializer and JsonSerializer from TypeAdapter #205

Closed BlitzOffline closed 1 year ago

BlitzOffline commented 1 year ago

When we first added JSON storage for users we saw people were recommending the TypeAdapter to be used over the JsonSerializer as the performance is much better with that one.

There is a problem with TypeAdapter tho:

Regarding the performance issue, according to a few sources it should be negligible as long as the json tree remains pretty flat which is true in the case of a ChatUser.