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

json处理怎么换一个库来处理。 #627

Open
mrclassfree opened this issue Sep 23, 2024 · 1 comment
Open

json处理怎么换一个库来处理。 #627

mrclassfree opened this issue Sep 23, 2024 · 1 comment

Comments

@mrclassfree
Copy link

mrclassfree commented Sep 23, 2024

nlohmann::json 这个库对中文支持不好,接口使用方式也不好用,还不如cpprest的JSON类好用,我想在源代码中替换另外一个JSON类,哪位大神知道该怎么操作?

@ithewei
Copy link
Owner

ithewei commented Sep 23, 2024

通过req->body或者resp->body拿到原始的字符串数据,使用自己喜欢的json库解析生成即可

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

No branches or pull requests

2 participants