Is there a way to obfuscate some fields when seria...
# serialization
r
Is there a way to obfuscate some fields when serializing a model for logging?
My currently planned solution is to convert to JsonObject and then do some recursive work manually every time, seems heavy just for logging
n
what does obfuscate mean for you ?
renaming keys? or changing content?
r
Changing content of keys named “password” or something like that
r
You can mark them
@Transient
to avoid serializing them
r
Didn't touch this part of the framework yet, but I'd try to go for adding custom type for password field and having two `SerialModule`s for networking and logging, each of them providing own serializer for passwords.