{"action":"created","issue":{"url":"https://api.github.com/repos/toml-lang/toml/issues/235","labels_url":"https://api.github.com/repos/toml-lang/toml/issues/235/labels{/name}","comments_url":"https://api.github.com/repos/toml-lang/toml/issues/235/comments","events_url":"https://api.github.com/repos/toml-lang/toml/issues/235/events","html_url":"https://github.com/toml-lang/toml/pull/235","id":37939551,"number":235,"title":"Add inline table syntax.","user":{"login":"mojombo","id":1,"avatar_url":"https://avatars.githubusercontent.com/u/1?v=3","gravatar_id":"","url":"https://api.github.com/users/mojombo","html_url":"https://github.com/mojombo","followers_url":"https://api.github.com/users/mojombo/followers","following_url":"https://api.github.com/users/mojombo/following{/other_user}","gists_url":"https://api.github.com/users/mojombo/gists{/gist_id}","starred_url":"https://api.github.com/users/mojombo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mojombo/subscriptions","organizations_url":"https://api.github.com/users/mojombo/orgs","repos_url":"https://api.github.com/users/mojombo/repos","events_url":"https://api.github.com/users/mojombo/events{/privacy}","received_events_url":"https://api.github.com/users/mojombo/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":45,"created_at":"2014-07-16T00:34:42Z","updated_at":"2015-02-09T19:58:39Z","closed_at":"2015-02-07T00:39:59Z","pull_request":{"url":"https://api.github.com/repos/toml-lang/toml/pulls/235","html_url":"https://github.com/toml-lang/toml/pull/235","diff_url":"https://github.com/toml-lang/toml/pull/235.diff","patch_url":"https://github.com/toml-lang/toml/pull/235.patch"},"body":"Concrete proposal for the inline table syntax I first proposed in Issue #219. Here's a quick taste:\r\n\r\n```\r\n# They should look familiar and obvious\r\nname = { first = \"Tom\", last = \"Preston-Werner\" }\r\npoint = { x = 1, y = 2 }\r\n\r\n# They make tuples unnecessary by allowing mixed types (they are just tables, after all).\r\n# Unlike tuples, they are self-documenting via the key names.\r\naddress = { proto = \"http\", ip = \"10.0.0.1\", port = 8080 }\r\n\r\n# Arrays of tables with less hassle\r\npoints = [ { x = 1, y = 2, z = 3 },\r\n           { x = 7, y = 8, z = 9 },\r\n           { x = 2, y = 4, z = 8 } ]\r\n```\r\n\r\nThis is about as brief as I could think to make it, so if there are specific issues that need clarifying, please bring them up."},"comment":{"url":"https://api.github.com/repos/toml-lang/toml/issues/comments/73578529","html_url":"https://github.com/toml-lang/toml/pull/235#issuecomment-73578529","issue_url":"https://api.github.com/repos/toml-lang/toml/issues/235","id":73578529,"user":{"login":"mwanji","id":58760,"avatar_url":"https://avatars.githubusercontent.com/u/58760?v=3","gravatar_id":"","url":"https://api.github.com/users/mwanji","html_url":"https://github.com/mwanji","followers_url":"https://api.github.com/users/mwanji/followers","following_url":"https://api.github.com/users/mwanji/following{/other_user}","gists_url":"https://api.github.com/users/mwanji/gists{/gist_id}","starred_url":"https://api.github.com/users/mwanji/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mwanji/subscriptions","organizations_url":"https://api.github.com/users/mwanji/orgs","repos_url":"https://api.github.com/users/mwanji/repos","events_url":"https://api.github.com/users/mwanji/events{/privacy}","received_events_url":"https://api.github.com/users/mwanji/received_events","type":"User","site_admin":false},"created_at":"2015-02-09T19:58:39Z","updated_at":"2015-02-09T19:58:39Z","body":"Do inline tables support trailing commas, like arrays?"}}