{"action":"created","issue":{"url":"https://api.github.com/repos/stylus/stylus/issues/2026","labels_url":"https://api.github.com/repos/stylus/stylus/issues/2026/labels{/name}","comments_url":"https://api.github.com/repos/stylus/stylus/issues/2026/comments","events_url":"https://api.github.com/repos/stylus/stylus/issues/2026/events","html_url":"https://github.com/stylus/stylus/issues/2026","id":110807096,"number":2026,"title":"Сomments in json","user":{"login":"xBrainstem","id":12419253,"avatar_url":"https://avatars.githubusercontent.com/u/12419253?v=3","gravatar_id":"","url":"https://api.github.com/users/xBrainstem","html_url":"https://github.com/xBrainstem","followers_url":"https://api.github.com/users/xBrainstem/followers","following_url":"https://api.github.com/users/xBrainstem/following{/other_user}","gists_url":"https://api.github.com/users/xBrainstem/gists{/gist_id}","starred_url":"https://api.github.com/users/xBrainstem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xBrainstem/subscriptions","organizations_url":"https://api.github.com/users/xBrainstem/orgs","repos_url":"https://api.github.com/users/xBrainstem/repos","events_url":"https://api.github.com/users/xBrainstem/events{/privacy}","received_events_url":"https://api.github.com/users/xBrainstem/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-10-10T17:29:28Z","updated_at":"2015-10-11T14:59:24Z","closed_at":"2015-10-10T18:09:36Z","body":"In some projects (for example, Cromium) you can use comments in json. json(path[, options]) does not understand comments. The developers have a large json library. It would be very useful for Stylus can work with comments in json.\r\nCan be connect, for example, JSON.minify(https://github.com/getify/JSON.minify) to the Stylus?"},"comment":{"url":"https://api.github.com/repos/stylus/stylus/issues/comments/147207925","html_url":"https://github.com/stylus/stylus/issues/2026#issuecomment-147207925","issue_url":"https://api.github.com/repos/stylus/stylus/issues/2026","id":147207925,"user":{"login":"xBrainstem","id":12419253,"avatar_url":"https://avatars.githubusercontent.com/u/12419253?v=3","gravatar_id":"","url":"https://api.github.com/users/xBrainstem","html_url":"https://github.com/xBrainstem","followers_url":"https://api.github.com/users/xBrainstem/followers","following_url":"https://api.github.com/users/xBrainstem/following{/other_user}","gists_url":"https://api.github.com/users/xBrainstem/gists{/gist_id}","starred_url":"https://api.github.com/users/xBrainstem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xBrainstem/subscriptions","organizations_url":"https://api.github.com/users/xBrainstem/orgs","repos_url":"https://api.github.com/users/xBrainstem/repos","events_url":"https://api.github.com/users/xBrainstem/events{/privacy}","received_events_url":"https://api.github.com/users/xBrainstem/received_events","type":"User","site_admin":false},"created_at":"2015-10-11T14:59:24Z","updated_at":"2015-10-11T14:59:24Z","body":"> Then you copied it wrong :)\r\n\r\nYes, Parser don't work. Because I used ```var Parser = stylus.parser``` and ```catch (e)``` block worked in ```parseString(str)```. Must use ```var Parser = stylus.Parser```. Now I can use JSON or JSON5 with jsonbif.\r\n\r\n> I'll will accept a PR with this change.\r\n\r\nGood news.Will wait for the new extension to work with JSON in Stylus.\r\n\r\nThanks for the help!"}}