{"action":"created","issue":{"url":"https://api.github.com/repos/nlohmann/json/issues/614","repository_url":"https://api.github.com/repos/nlohmann/json","labels_url":"https://api.github.com/repos/nlohmann/json/issues/614/labels{/name}","comments_url":"https://api.github.com/repos/nlohmann/json/issues/614/comments","events_url":"https://api.github.com/repos/nlohmann/json/issues/614/events","html_url":"https://github.com/nlohmann/json/issues/614","id":234998198,"number":614,"title":"to_json for pairs, tuples","user":{"login":"hsdk123","id":4100142,"avatar_url":"https://avatars2.githubusercontent.com/u/4100142?v=3","gravatar_id":"","url":"https://api.github.com/users/hsdk123","html_url":"https://github.com/hsdk123","followers_url":"https://api.github.com/users/hsdk123/followers","following_url":"https://api.github.com/users/hsdk123/following{/other_user}","gists_url":"https://api.github.com/users/hsdk123/gists{/gist_id}","starred_url":"https://api.github.com/users/hsdk123/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hsdk123/subscriptions","organizations_url":"https://api.github.com/users/hsdk123/orgs","repos_url":"https://api.github.com/users/hsdk123/repos","events_url":"https://api.github.com/users/hsdk123/events{/privacy}","received_events_url":"https://api.github.com/users/hsdk123/received_events","type":"User","site_admin":false},"labels":[{"id":46374235,"url":"https://api.github.com/repos/nlohmann/json/labels/kind:%20question","name":"kind: question","color":"cc317c","default":false},{"id":558418062,"url":"https://api.github.com/repos/nlohmann/json/labels/solution:%20proposed%20fix","name":"solution: proposed fix","color":"00bb00","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2017-06-10T11:53:14Z","updated_at":"2017-06-11T14:52:58Z","closed_at":null,"body":"Hi, I was wondering if there might be a simple way to to_json() pairs and tuples, instead of having to explicitly create each element for json. "},"comment":{"url":"https://api.github.com/repos/nlohmann/json/issues/comments/307633777","html_url":"https://github.com/nlohmann/json/issues/614#issuecomment-307633777","issue_url":"https://api.github.com/repos/nlohmann/json/issues/614","id":307633777,"user":{"login":"gregmarr","id":8569738,"avatar_url":"https://avatars1.githubusercontent.com/u/8569738?v=3","gravatar_id":"","url":"https://api.github.com/users/gregmarr","html_url":"https://github.com/gregmarr","followers_url":"https://api.github.com/users/gregmarr/followers","following_url":"https://api.github.com/users/gregmarr/following{/other_user}","gists_url":"https://api.github.com/users/gregmarr/gists{/gist_id}","starred_url":"https://api.github.com/users/gregmarr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gregmarr/subscriptions","organizations_url":"https://api.github.com/users/gregmarr/orgs","repos_url":"https://api.github.com/users/gregmarr/repos","events_url":"https://api.github.com/users/gregmarr/events{/privacy}","received_events_url":"https://api.github.com/users/gregmarr/received_events","type":"User","site_admin":false},"created_at":"2017-06-11T14:52:58Z","updated_at":"2017-06-11T14:52:58Z","body":"In my own codebase, I have a function that encodes them as an object with`first` and `second` members."}}
{"actor":{"display_login":"gregmarr"}}