Custom Deserializer not getting Invoked in Micronaut 3
I have created a custom deserialization to parse received string value for a field to Boolean. For eg: "Y" to true and "N" to false.
@Slf4j
public class BooleanDeserializer extends JsonDeserializer {
@Override
public Boolean deserialize(JsonParser p, DeserializationContext ctxt) throws IOException {
log.debug("Deserializer got called");
String fieldName = null;
String value = null;
try {
fieldName = p.getCurrentName();
value = p.getText();
} catch...