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

sometimes the ofxJson can not get the right info. #5

Closed
SimpleDrunk opened this issue Nov 7, 2013 · 0 comments
Closed

sometimes the ofxJson can not get the right info. #5

SimpleDrunk opened this issue Nov 7, 2013 · 0 comments

Comments

@SimpleDrunk
Copy link

@jefftimesten
I want to get weather info by ofxJson, but some info will get wrong state different with the right.

1.Link address: http://www.weather.com.cn/data/sk/101200101.html
2.Get "WD" info:
string city = nowJson["weatherinfo"]["city"].asString();
string WD = nowJson["weatherinfo"]["WD"].asString();
translate to the wstring..
3.Can not get right info, but get the info "武汉" which should be get by "city".

Maybe it's my incorrect operation.
Wish to get your replay, thx.

simpledrunk
email: lihuan777#gmail.com

find the reason, it is really occur by my mistake... close.. - -||

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

1 participant