{"action":"created","issue":{"url":"https://api.github.com/repos/eclipse/vert.x/issues/1344","repository_url":"https://api.github.com/repos/eclipse/vert.x","labels_url":"https://api.github.com/repos/eclipse/vert.x/issues/1344/labels{/name}","comments_url":"https://api.github.com/repos/eclipse/vert.x/issues/1344/comments","events_url":"https://api.github.com/repos/eclipse/vert.x/issues/1344/events","html_url":"https://github.com/eclipse/vert.x/pull/1344","id":142353294,"number":1344,"title":"Use LinkedHashMap in copy() to preserve key ordering.","user":{"login":"LarsDenBakker","id":11994993,"avatar_url":"https://avatars.githubusercontent.com/u/11994993?v=3","gravatar_id":"","url":"https://api.github.com/users/LarsDenBakker","html_url":"https://github.com/LarsDenBakker","followers_url":"https://api.github.com/users/LarsDenBakker/followers","following_url":"https://api.github.com/users/LarsDenBakker/following{/other_user}","gists_url":"https://api.github.com/users/LarsDenBakker/gists{/gist_id}","starred_url":"https://api.github.com/users/LarsDenBakker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LarsDenBakker/subscriptions","organizations_url":"https://api.github.com/users/LarsDenBakker/orgs","repos_url":"https://api.github.com/users/LarsDenBakker/repos","events_url":"https://api.github.com/users/LarsDenBakker/events{/privacy}","received_events_url":"https://api.github.com/users/LarsDenBakker/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/eclipse/vert.x/labels/to%20review","name":"to review","color":"ededed"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-03-21T13:50:30Z","updated_at":"2016-05-09T06:45:11Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/eclipse/vert.x/pulls/1344","html_url":"https://github.com/eclipse/vert.x/pull/1344","diff_url":"https://github.com/eclipse/vert.x/pull/1344.diff","patch_url":"https://github.com/eclipse/vert.x/pull/1344.patch"},"body":"Right now we're losing key ordering when the JsonObject is copied (for instance when communicating on the event bus). LinkedHashMap should be used to maintain key ordering. It's a tiny change. :)"},"comment":{"url":"https://api.github.com/repos/eclipse/vert.x/issues/comments/217787666","html_url":"https://github.com/eclipse/vert.x/pull/1344#issuecomment-217787666","issue_url":"https://api.github.com/repos/eclipse/vert.x/issues/1344","id":217787666,"user":{"login":"pmlopes","id":849467,"avatar_url":"https://avatars.githubusercontent.com/u/849467?v=3","gravatar_id":"","url":"https://api.github.com/users/pmlopes","html_url":"https://github.com/pmlopes","followers_url":"https://api.github.com/users/pmlopes/followers","following_url":"https://api.github.com/users/pmlopes/following{/other_user}","gists_url":"https://api.github.com/users/pmlopes/gists{/gist_id}","starred_url":"https://api.github.com/users/pmlopes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pmlopes/subscriptions","organizations_url":"https://api.github.com/users/pmlopes/orgs","repos_url":"https://api.github.com/users/pmlopes/repos","events_url":"https://api.github.com/users/pmlopes/events{/privacy}","received_events_url":"https://api.github.com/users/pmlopes/received_events","type":"User","site_admin":false},"created_at":"2016-05-09T06:45:11Z","updated_at":"2016-05-09T06:45:11Z","body":"Just as a note, there is no requirement that json keys are ordered and it is probably a bad assumption specially once you start consuming json from different sources or languages."}}