{"issue":{"created_at":"2011-11-19T04:23:56Z","state":"closed","updated_at":"2011-11-19T21:53:13Z","comments":8,"user":{"gravatar_id":"7c7575b1ddb6ea6f466f4962529baa12","id":88795,"url":"https://api.github.com/users/nddrylliog","login":"nddrylliog","avatar_url":"https://secure.gravatar.com/avatar/7c7575b1ddb6ea6f466f4962529baa12?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"body":"Since we're using it in production, I'd like to see a few improvements to the text/json package:\r\n\r\n1) It, and HashBag, should not segfault when we get() a key that doesn't exist, it should merely throw an exception or return null.\r\n\r\n2) We should have an easy way to travel down HashBags, ie. something like bag path(\"category/38/subscribers/4/login\", String) and have it throw exceptions if it can't travel along the way.\r\n\r\n3) It should be namespaced correctly, right now it just throws functions like 'parse', 'generate' and 'generateString' in the namespace. Even if we did have namespaced imports in rock (ping @fredreichbier @showstopper), it's not really acceptable to pollute the namespace with such generic names. They should probably be static functions in a 'JSON' class instead.","assignee":null,"id":2287022,"labels":[],"pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"number":334,"title":"JSON parser/generator improvements","closed_at":"2011-11-19T21:53:13Z","html_url":"https://github.com/nddrylliog/rock/issues/334","milestone":null,"url":"https://api.github.com/repos/nddrylliog/rock/issues/334"},"action":"closed"}