Skip to content
This repository was archived by the owner on Oct 23, 2024. It is now read-only.
This repository was archived by the owner on Oct 23, 2024. It is now read-only.

从1.2.69版本开始,ParserConfig.getGlobalInstance().putDeserializer(String.class, new TrimStringDeserializer());失效了 #3279

@llsi4275

Description

@llsi4275

从1.2.69版本开始,在反序列化时,使用ParserConfig.getGlobalInstance().putDeserializer(String.class, new TrimStringDeserializer());方式对全局的字符串处理不生效了,调用不到了。。。

我们从1.2.60版本使用这个功能,最近换成新版本后,发现失效了...
试了1.2.60-1.2.68之间的所有版本都可以使用。但换成1.2.69之后,就无法使用了。

如果到每个字段上去写,太麻烦,也太low了一点,有没有其它办法呢?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions