{"action":"created","issue":{"url":"https://api.github.com/repos/vigetlabs/gulp-starter/issues/198","labels_url":"https://api.github.com/repos/vigetlabs/gulp-starter/issues/198/labels{/name}","comments_url":"https://api.github.com/repos/vigetlabs/gulp-starter/issues/198/comments","events_url":"https://api.github.com/repos/vigetlabs/gulp-starter/issues/198/events","html_url":"https://github.com/vigetlabs/gulp-starter/issues/198","id":108998710,"number":198,"title":"Use JSON for config for cross language sharing","user":{"login":"greypants","id":647549,"avatar_url":"https://avatars.githubusercontent.com/u/647549?v=3","gravatar_id":"","url":"https://api.github.com/users/greypants","html_url":"https://github.com/greypants","followers_url":"https://api.github.com/users/greypants/followers","following_url":"https://api.github.com/users/greypants/following{/other_user}","gists_url":"https://api.github.com/users/greypants/gists{/gist_id}","starred_url":"https://api.github.com/users/greypants/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/greypants/subscriptions","organizations_url":"https://api.github.com/users/greypants/orgs","repos_url":"https://api.github.com/users/greypants/repos","events_url":"https://api.github.com/users/greypants/events{/privacy}","received_events_url":"https://api.github.com/users/greypants/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"greypants","id":647549,"avatar_url":"https://avatars.githubusercontent.com/u/647549?v=3","gravatar_id":"","url":"https://api.github.com/users/greypants","html_url":"https://github.com/greypants","followers_url":"https://api.github.com/users/greypants/followers","following_url":"https://api.github.com/users/greypants/following{/other_user}","gists_url":"https://api.github.com/users/greypants/gists{/gist_id}","starred_url":"https://api.github.com/users/greypants/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/greypants/subscriptions","organizations_url":"https://api.github.com/users/greypants/orgs","repos_url":"https://api.github.com/users/greypants/repos","events_url":"https://api.github.com/users/greypants/events{/privacy}","received_events_url":"https://api.github.com/users/greypants/received_events","type":"User","site_admin":false},"milestone":null,"comments":2,"created_at":"2015-09-30T01:51:14Z","updated_at":"2015-09-30T02:59:35Z","closed_at":null,"body":"Just ran into this on a Rails project. I wanted to have my Rails asset path helpers read my gulpfile.js/config file, so I converted it to JSON.\r\n\r\n**Downside:** It's not JS, so you can't have any logic in the config files (there isn't currently).\r\n**Upside:** Easier cross-language sharing. \r\n\r\nWorth it?"},"comment":{"url":"https://api.github.com/repos/vigetlabs/gulp-starter/issues/comments/144267736","html_url":"https://github.com/vigetlabs/gulp-starter/issues/198#issuecomment-144267736","issue_url":"https://api.github.com/repos/vigetlabs/gulp-starter/issues/198","id":144267736,"user":{"login":"greypants","id":647549,"avatar_url":"https://avatars.githubusercontent.com/u/647549?v=3","gravatar_id":"","url":"https://api.github.com/users/greypants","html_url":"https://github.com/greypants","followers_url":"https://api.github.com/users/greypants/followers","following_url":"https://api.github.com/users/greypants/following{/other_user}","gists_url":"https://api.github.com/users/greypants/gists{/gist_id}","starred_url":"https://api.github.com/users/greypants/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/greypants/subscriptions","organizations_url":"https://api.github.com/users/greypants/orgs","repos_url":"https://api.github.com/users/greypants/repos","events_url":"https://api.github.com/users/greypants/events{/privacy}","received_events_url":"https://api.github.com/users/greypants/received_events","type":"User","site_admin":false},"created_at":"2015-09-30T02:59:35Z","updated_at":"2015-09-30T02:59:35Z","body":"I went with JSON because you can already `require` it in node. YAML is nice though, and I could use https://github.com/leafty/node-yaml-config"}}