{"action":"closed","issue":{"url":"https://api.github.com/repos/byzhang/rapidjson/issues/18","labels_url":"https://api.github.com/repos/byzhang/rapidjson/issues/18/labels{/name}","comments_url":"https://api.github.com/repos/byzhang/rapidjson/issues/18/comments","events_url":"https://api.github.com/repos/byzhang/rapidjson/issues/18/events","html_url":"https://github.com/byzhang/rapidjson/issues/18","id":59729671,"number":18,"title":"Error removing last element of object","user":{"login":"GoogleCodeExporter","id":9614759,"avatar_url":"https://avatars.githubusercontent.com/u/9614759?v=3","gravatar_id":"","url":"https://api.github.com/users/GoogleCodeExporter","html_url":"https://github.com/GoogleCodeExporter","followers_url":"https://api.github.com/users/GoogleCodeExporter/followers","following_url":"https://api.github.com/users/GoogleCodeExporter/following{/other_user}","gists_url":"https://api.github.com/users/GoogleCodeExporter/gists{/gist_id}","starred_url":"https://api.github.com/users/GoogleCodeExporter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GoogleCodeExporter/subscriptions","organizations_url":"https://api.github.com/users/GoogleCodeExporter/orgs","repos_url":"https://api.github.com/users/GoogleCodeExporter/repos","events_url":"https://api.github.com/users/GoogleCodeExporter/events{/privacy}","received_events_url":"https://api.github.com/users/GoogleCodeExporter/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/byzhang/rapidjson/labels/auto-migrated","name":"auto-migrated","color":"ededed"},{"url":"https://api.github.com/repos/byzhang/rapidjson/labels/Priority-Medium","name":"Priority-Medium","color":"ededed"},{"url":"https://api.github.com/repos/byzhang/rapidjson/labels/Type-Defect","name":"Type-Defect","color":"ededed"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-03-04T00:12:59Z","updated_at":"2015-03-04T00:12:59Z","closed_at":"2015-03-04T00:12:59Z","body":"```\nWhat steps will reproduce the problem?\n1.Create new object\n2.Add some values to it\n3.Remove last added value\nSource code bellow:\nint main(int argc, char* argv[])\n{\t\n\trapidjson::Document doc;\n\trapidjson::StringBuffer strBuff(0, 1024);\n\trapidjson::Document::AllocatorType& allocator = doc.GetAllocator();\n\trapidjson::Value objVal(rapidjson::kObjectType);\t\n\tobjVal.AddMember(\"var1\", 123, allocator);\t\n\tobjVal.AddMember(\"var2\", \"444\", allocator);\n\tobjVal.AddMember(\"var3\", 555, allocator);\n\tobjVal.RemoveMember(\"var3\");\n\tstrBuff.Clear();\n\trapidjson::PrettyWriter<rapidjson::StringBuffer> writer(strBuff);\n\tobjVal.Accept(writer);\n\tprintf(\"Created string: %s\\n\", strBuff.GetString());\n\treturn 0;\n}\n\nWhat is the expected output? What do you see instead?\nExpecting ouput of created object as string.\nAssert happens, when removing object's member\n\nWhat version of the product are you using? On what operating system?\nUsing code from repository, r61\nWindows7 x64\n\n\n\n```\n\nOriginal issue reported on code.google.com by `ifedo...@ronasit.com` on 29 Feb 2012 at 9:37"}}