{"action":"created","issue":{"url":"https://api.github.com/repos/citation-style-language/csl-editor/issues/196","repository_url":"https://api.github.com/repos/citation-style-language/csl-editor","labels_url":"https://api.github.com/repos/citation-style-language/csl-editor/issues/196/labels{/name}","comments_url":"https://api.github.com/repos/citation-style-language/csl-editor/issues/196/comments","events_url":"https://api.github.com/repos/citation-style-language/csl-editor/issues/196/events","html_url":"https://github.com/citation-style-language/csl-editor/issues/196","id":163288043,"number":196,"title":"cslExporter.csl exports malformed JSON on the author array","user":{"login":"mcshaz","id":2456704,"avatar_url":"https://avatars.githubusercontent.com/u/2456704?v=3","gravatar_id":"","url":"https://api.github.com/users/mcshaz","html_url":"https://github.com/mcshaz","followers_url":"https://api.github.com/users/mcshaz/followers","following_url":"https://api.github.com/users/mcshaz/following{/other_user}","gists_url":"https://api.github.com/users/mcshaz/gists{/gist_id}","starred_url":"https://api.github.com/users/mcshaz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mcshaz/subscriptions","organizations_url":"https://api.github.com/users/mcshaz/orgs","repos_url":"https://api.github.com/users/mcshaz/repos","events_url":"https://api.github.com/users/mcshaz/events{/privacy}","received_events_url":"https://api.github.com/users/mcshaz/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-06-30T23:22:26Z","updated_at":"2016-07-01T00:51:12Z","closed_at":null,"body":"when using the  cslExporter.csl file from [wiki/citation-style-editor/csl-editor/cslExporter.csl](https://raw.github.com/wiki/citation-style-editor/csl-editor/cslExporter.csl) I get some malformed JSON in the author property:\r\n\r\n`\"author\": [{\"family\": \"Moynihan\", \"given\": \"Katie\"}]\"}, {\"family\": \"[{\"family\": \"McSharry\", \"given\": \"Brent\"}]\"}, {\"family\": \"[{\"family\": \"Reed\", \"given\": \"Peter\"}]\"}, {\"family\": \"[{\"family\": \"Buckley\", \"given\": \"David\"}]`\r\n\r\nit should be\r\n`\"author\": [{\"family\": \"Moynihan\", \"given\": \"Katie\"}, {\"family\": \"McSharry\", \"given\": \"Brent\"}, {\"family\": \"Reed\", \"given\": \"Peter\"}, {\"family\": \"Buckley\", \"given\": \"David\"}]`\r\n\r\nthat is each object within the collection is being serialised with:\r\n`]\"}, {\"family\": \"[`\r\ninstead of just a comma"},"comment":{"url":"https://api.github.com/repos/citation-style-language/csl-editor/issues/comments/229827874","html_url":"https://github.com/citation-style-language/csl-editor/issues/196#issuecomment-229827874","issue_url":"https://api.github.com/repos/citation-style-language/csl-editor/issues/196","id":229827874,"user":{"login":"rmzelle","id":77951,"avatar_url":"https://avatars.githubusercontent.com/u/77951?v=3","gravatar_id":"","url":"https://api.github.com/users/rmzelle","html_url":"https://github.com/rmzelle","followers_url":"https://api.github.com/users/rmzelle/followers","following_url":"https://api.github.com/users/rmzelle/following{/other_user}","gists_url":"https://api.github.com/users/rmzelle/gists{/gist_id}","starred_url":"https://api.github.com/users/rmzelle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rmzelle/subscriptions","organizations_url":"https://api.github.com/users/rmzelle/orgs","repos_url":"https://api.github.com/users/rmzelle/repos","events_url":"https://api.github.com/users/rmzelle/events{/privacy}","received_events_url":"https://api.github.com/users/rmzelle/received_events","type":"User","site_admin":false},"created_at":"2016-07-01T00:51:12Z","updated_at":"2016-07-01T00:51:12Z","body":"Looks like each:\r\n\r\n```\r\n<group>\r\n<text prefix=\" &quot;\" value=\"author&quot;: \" /><names variable=\"author\"><name delimiter=\"&quot;}, {&quot;family&quot;: &quot;\" prefix=\"[{&quot;family&quot;: &quot;\" suffix=\"&quot;}]\" name-as-sort-order=\"all\" sort-separator=\"&quot;, &quot;given&quot;: &quot;\" ></name></names>\r\n</group>\r\n```\r\n\r\nshould look something like\r\n\r\n```\r\n<group>\r\n  <text prefix=\" &quot;\" value=\"author\" suffix=\"&quot;: \" />\r\n  <names variable=\"author\" prefix=\"[\" suffix=\"]\">\r\n    <name delimiter=\", \" prefix=\"{&quot;family&quot;: &quot;\" suffix=\"&quot;}\" name-as-sort-order=\"all\" sort-separator=\"&quot;, &quot;given&quot;: &quot;\"/>\r\n  </names>\r\n</group>\r\n```\r\n\r\n(this gives:\r\n\r\n```\r\n\"author\": [{\"family\": \"Shih\", \"given\": \"T. Y.\"}, {\"family\": \"Stokes\", \"given\": \"P. E.\"}, {\"family\": \"Smythers\", \"given\": \"G. W.\"}, {\"family\": \"Dhar\", \"given\": \"R.\"}, {\"family\": \"Oroszlan\", \"given\": \"S.\"}]\r\n```\r\n)"}}
{"actor":{"display_login":"rmzelle"}}