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

Base 2.3 #6

Merged
merged 1 commit into from
Apr 3, 2022
Merged

Base 2.3 #6

merged 1 commit into from
Apr 3, 2022

Conversation

fengjixuchui
Copy link
Owner

rapidjson复用有些不熟悉,详细:
Tencent/rapidjson#2013
更替为nlohmann_json,但中文反序列化时候不友好utf8,详细:
nlohmann/json#3414
后续如果没有对应的api解决,将引入boost::uft8编码转换后在反序列化,所以数据只要是string都要处理,因为不知道是否有中文,否则序列化将抛出异常.

rapidjson复用有些不熟悉,详细:
Tencent/rapidjson#2013
更替为nlohmann_json,但中文反序列化时候不友好utf8,详细:
nlohmann/json#3414
后续如果没有对应的api解决,将引入boost::uft8编码转换后在反序列化,所以数据只要是string都要处理,因为不知道是否有中文,否则序列化将抛出异常.
@fengjixuchui fengjixuchui merged commit 35931e1 into fengjixuchui:main Apr 3, 2022
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.

2 participants