-
-
Notifications
You must be signed in to change notification settings - Fork 6.8k
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
Using json Object as value in a map #725
Comments
|
Can you also provide the code in gameobjectfactory.cpp(334) and maybe some context lines? |
Oh dear, i found my mistake. Sorry. |
Under the hood, objects are stored in an |
Alright Thank you so much! This is very helpful |
I have a map, that have key string, and json as the value
std::map<std::string, json> mList;
Then,
std::map<std::string, json>::iterator i = mList.at(name);
std::map<std::string, json>::iterator end = mList.end();
When i try to access the iterator, it keep giving me error about
Error C2338 could not find from_json() method in T's namespace
I have no idea what is going on, can someone help?
The text was updated successfully, but these errors were encountered: