{"action":"created","issue":{"url":"https://api.github.com/repos/timehop/golog/issues/8","labels_url":"https://api.github.com/repos/timehop/golog/issues/8/labels{/name}","comments_url":"https://api.github.com/repos/timehop/golog/issues/8/comments","events_url":"https://api.github.com/repos/timehop/golog/issues/8/events","html_url":"https://github.com/timehop/golog/pull/8","id":98420124,"number":8,"title":"Treat odd # key-value pairs as corruption","user":{"login":"heewa","id":232685,"avatar_url":"https://avatars.githubusercontent.com/u/232685?v=3","gravatar_id":"","url":"https://api.github.com/users/heewa","html_url":"https://github.com/heewa","followers_url":"https://api.github.com/users/heewa/followers","following_url":"https://api.github.com/users/heewa/following{/other_user}","gists_url":"https://api.github.com/users/heewa/gists{/gist_id}","starred_url":"https://api.github.com/users/heewa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/heewa/subscriptions","organizations_url":"https://api.github.com/users/heewa/orgs","repos_url":"https://api.github.com/users/heewa/repos","events_url":"https://api.github.com/users/heewa/events{/privacy}","received_events_url":"https://api.github.com/users/heewa/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-07-31T16:01:20Z","updated_at":"2015-08-04T14:52:29Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/timehop/golog/pulls/8","html_url":"https://github.com/timehop/golog/pull/8","diff_url":"https://github.com/timehop/golog/pull/8.diff","patch_url":"https://github.com/timehop/golog/pull/8.patch"},"body":"If an odd # of key-value pairs are supplied, the most likely case is a missing key or value in the middle of the array, which shifts what used to be values to keys, which means corrupt keys. This is bad for things that rely on keys menaing something, like logs as data metrics, or centralized logging with fields as typed values.\r\n\r\nThis change flattens odd # kv pairs into a \"corruptFields\" key or \"corruptStaticFields\" for static ones (to avoid discarding non-corrupt static ones when dynamic are fine, and vice versa).\r\n\r\n@kevin-cantwell @kjsteuer "},"comment":{"url":"https://api.github.com/repos/timehop/golog/issues/comments/127640181","html_url":"https://github.com/timehop/golog/pull/8#issuecomment-127640181","issue_url":"https://api.github.com/repos/timehop/golog/issues/8","id":127640181,"user":{"login":"kevin-cantwell","id":307864,"avatar_url":"https://avatars.githubusercontent.com/u/307864?v=3","gravatar_id":"","url":"https://api.github.com/users/kevin-cantwell","html_url":"https://github.com/kevin-cantwell","followers_url":"https://api.github.com/users/kevin-cantwell/followers","following_url":"https://api.github.com/users/kevin-cantwell/following{/other_user}","gists_url":"https://api.github.com/users/kevin-cantwell/gists{/gist_id}","starred_url":"https://api.github.com/users/kevin-cantwell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kevin-cantwell/subscriptions","organizations_url":"https://api.github.com/users/kevin-cantwell/orgs","repos_url":"https://api.github.com/users/kevin-cantwell/repos","events_url":"https://api.github.com/users/kevin-cantwell/events{/privacy}","received_events_url":"https://api.github.com/users/kevin-cantwell/received_events","type":"User","site_admin":false},"created_at":"2015-08-04T14:52:29Z","updated_at":"2015-08-04T14:52:29Z","body":"I think this is cool. It will help us easily discover where people are using the package incorrectly.\r\n\r\nChange looks good for merge."}}