class JacksonStringDeserializer extends JsonDeserializer<String> {

    public static final JacksonStringDeserializer INSTANCE = new JacksonStringDeserializer();

    @Override
    public String deserialize(JsonParser jsonParser, DeserializationContext deserializationContext) throws IOException, JacksonException {<FILL_FUNCTION_BODY>}
}

        String value = jsonParser.getValueAsString();
        if (value != null) {
            // 去除字符串空格
            value = value.trim();
        }
        return value;
    
<no_super_class>