If the field has an annotation, I need to replace all the & characters in the string with § when deserializing, and do the opposite when serializing
For example i created an annotation and marked a field with it
public class SomeData {
@MinecraftColorText
private String str;
}
I need read this json:
{"str":"&6Some nice text"}
and in java object str field need be: §6Some nice text
Im need process only annotated fields, not all String
I wanted to do it with ContextualSerializer, but as I understand it, it replaces the standard serialization