{"action":"created","issue":{"url":"https://api.github.com/repos/crissdev/gulp-props/issues/3","labels_url":"https://api.github.com/repos/crissdev/gulp-props/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/crissdev/gulp-props/issues/3/comments","events_url":"https://api.github.com/repos/crissdev/gulp-props/issues/3/events","html_url":"https://github.com/crissdev/gulp-props/issues/3","id":96071881,"number":3,"title":"How can I get valid JSON file with this plugin?","user":{"login":"ValeryIvanov","id":3888810,"avatar_url":"https://avatars.githubusercontent.com/u/3888810?v=3","gravatar_id":"","url":"https://api.github.com/users/ValeryIvanov","html_url":"https://github.com/ValeryIvanov","followers_url":"https://api.github.com/users/ValeryIvanov/followers","following_url":"https://api.github.com/users/ValeryIvanov/following{/other_user}","gists_url":"https://api.github.com/users/ValeryIvanov/gists{/gist_id}","starred_url":"https://api.github.com/users/ValeryIvanov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ValeryIvanov/subscriptions","organizations_url":"https://api.github.com/users/ValeryIvanov/orgs","repos_url":"https://api.github.com/users/ValeryIvanov/repos","events_url":"https://api.github.com/users/ValeryIvanov/events{/privacy}","received_events_url":"https://api.github.com/users/ValeryIvanov/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-07-20T14:06:58Z","updated_at":"2015-07-20T14:14:15Z","closed_at":"2015-07-20T14:14:15Z","body":"Currently it makes a .js file and inside is \r\n\r\nvar config = config || {};\r\nconfig['i18n.\r\n\r\n...and so on\r\n\r\nBut I dont understand how can I create valid JSON file.\r\n\r\nMy gulp task is like that\r\n\r\ngulp.task('i18n', function () {\r\n    gulp.src('./i18n/*.properties')\r\n        .pipe(props())\r\n        .pipe(gulp.dest('./i18n/'));\r\n});\r\n"},"comment":{"url":"https://api.github.com/repos/crissdev/gulp-props/issues/comments/122898919","html_url":"https://github.com/crissdev/gulp-props/issues/3#issuecomment-122898919","issue_url":"https://api.github.com/repos/crissdev/gulp-props/issues/3","id":122898919,"user":{"login":"ValeryIvanov","id":3888810,"avatar_url":"https://avatars.githubusercontent.com/u/3888810?v=3","gravatar_id":"","url":"https://api.github.com/users/ValeryIvanov","html_url":"https://github.com/ValeryIvanov","followers_url":"https://api.github.com/users/ValeryIvanov/followers","following_url":"https://api.github.com/users/ValeryIvanov/following{/other_user}","gists_url":"https://api.github.com/users/ValeryIvanov/gists{/gist_id}","starred_url":"https://api.github.com/users/ValeryIvanov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ValeryIvanov/subscriptions","organizations_url":"https://api.github.com/users/ValeryIvanov/orgs","repos_url":"https://api.github.com/users/ValeryIvanov/repos","events_url":"https://api.github.com/users/ValeryIvanov/events{/privacy}","received_events_url":"https://api.github.com/users/ValeryIvanov/received_events","type":"User","site_admin":false},"created_at":"2015-07-20T14:14:15Z","updated_at":"2015-07-20T14:14:15Z","body":"Okay I looked in the source code and realized that if I write\r\n\r\n.pipe(props({namespace : \"\"}))\r\n\r\nthen it will make a JSON file, otherwise Javascript file. I suggest you to improve README file, because I could not understand that from it.\r\n\r\nThanks for great plugin! (Y)"}}