Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

增加transformer接口,解决字符串转字典功能无法实现的问题 #418

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

xiongzhaowei
Copy link

@xiongzhaowei xiongzhaowei commented Jan 15, 2021

我们公司的服务端下发的json数据,总是把字典包含在字符串内,如 "{ \"name\": true }" 这种形式,导致在解析时,需要针对每个字段实现mapper方法,用起来比较麻烦,希望能增加一个类似transformer的接口,使属性解析时,能优先从传入的transormer接口预解析一遍,解析失败后再执行默认行为。

@CLAassistant
Copy link

CLAassistant commented Jan 10, 2022

CLA assistant check
All committers have signed the CLA.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants