-
Notifications
You must be signed in to change notification settings - Fork 109
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
如何序列化 QMap #11
Comments
Qt没用过,所以对于Qt的各种类型不了解。 |
QMap <QString, QString> x;
x.insert("a", "x");
x.insert("bbb", "adfvdf");
auto mm = x2struct::X::tojson(x);
cout << mm << endl; 这段代码编译出错, 添加:把QMap 类型 改成 |
建议支持 QList (或者叫 std::list ) |
我先支持std::list,Qt的我先了解一下。 |
已经支持std::list |
std::tuple 有没有在近期的考虑中? |
暂时没有考虑tuple。tuple的不定类型不好映射到json里面 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
这个 QMap 无法转换成json
The text was updated successfully, but these errors were encountered: