{"action":"created","issue":{"url":"https://api.github.com/repos/open-source-parsers/jsoncpp/issues/377","labels_url":"https://api.github.com/repos/open-source-parsers/jsoncpp/issues/377/labels{/name}","comments_url":"https://api.github.com/repos/open-source-parsers/jsoncpp/issues/377/comments","events_url":"https://api.github.com/repos/open-source-parsers/jsoncpp/issues/377/events","html_url":"https://github.com/open-source-parsers/jsoncpp/pull/377","id":109965215,"number":377,"title":"fix a bug: in value.h, ValueConstIterator can convert to ValueIterato…","user":{"login":"ycqiu","id":14831555,"avatar_url":"https://avatars.githubusercontent.com/u/14831555?v=3","gravatar_id":"","url":"https://api.github.com/users/ycqiu","html_url":"https://github.com/ycqiu","followers_url":"https://api.github.com/users/ycqiu/followers","following_url":"https://api.github.com/users/ycqiu/following{/other_user}","gists_url":"https://api.github.com/users/ycqiu/gists{/gist_id}","starred_url":"https://api.github.com/users/ycqiu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ycqiu/subscriptions","organizations_url":"https://api.github.com/users/ycqiu/orgs","repos_url":"https://api.github.com/users/ycqiu/repos","events_url":"https://api.github.com/users/ycqiu/events{/privacy}","received_events_url":"https://api.github.com/users/ycqiu/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-10-06T09:05:24Z","updated_at":"2015-10-07T04:45:43Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/open-source-parsers/jsoncpp/pulls/377","html_url":"https://github.com/open-source-parsers/jsoncpp/pull/377","diff_url":"https://github.com/open-source-parsers/jsoncpp/pull/377.diff","patch_url":"https://github.com/open-source-parsers/jsoncpp/pull/377.patch"},"body":"…r, I think that is a bug. the correct way is ValueIterator can convert to ValueConstIterator."},"comment":{"url":"https://api.github.com/repos/open-source-parsers/jsoncpp/issues/comments/146075839","html_url":"https://github.com/open-source-parsers/jsoncpp/pull/377#issuecomment-146075839","issue_url":"https://api.github.com/repos/open-source-parsers/jsoncpp/issues/377","id":146075839,"user":{"login":"ycqiu","id":14831555,"avatar_url":"https://avatars.githubusercontent.com/u/14831555?v=3","gravatar_id":"","url":"https://api.github.com/users/ycqiu","html_url":"https://github.com/ycqiu","followers_url":"https://api.github.com/users/ycqiu/followers","following_url":"https://api.github.com/users/ycqiu/following{/other_user}","gists_url":"https://api.github.com/users/ycqiu/gists{/gist_id}","starred_url":"https://api.github.com/users/ycqiu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ycqiu/subscriptions","organizations_url":"https://api.github.com/users/ycqiu/orgs","repos_url":"https://api.github.com/users/ycqiu/repos","events_url":"https://api.github.com/users/ycqiu/events{/privacy}","received_events_url":"https://api.github.com/users/ycqiu/received_events","type":"User","site_admin":false},"created_at":"2015-10-07T04:45:43Z","updated_at":"2015-10-07T04:45:43Z","body":"yes. the test is easy, i send it here.  the include file can not put here.\r\n\r\nint main()\r\n{\r\nJson::Value value;\r\n\r\nfor(int i = 10; i < 20; ++i)\r\n{\r\n    stringstream sstream;   \r\n    sstream << i;\r\n    string str;\r\n    sstream >> str;\r\n    //cout << str << endl;\r\n    value[str] = str;   \r\n}   \r\n\r\n//in old code, this will get a compile error\r\nJson::Value::const_iterator iter = value.begin();\r\nfor(; iter != value.end(); ++iter)\r\n{\r\n    cout << *iter << endl;\r\n}\r\nreturn 0;\r\n}"}}