{"action":"created","issue":{"url":"https://api.github.com/repos/eslint/doctrine/issues/140","labels_url":"https://api.github.com/repos/eslint/doctrine/issues/140/labels{/name}","comments_url":"https://api.github.com/repos/eslint/doctrine/issues/140/comments","events_url":"https://api.github.com/repos/eslint/doctrine/issues/140/events","html_url":"https://github.com/eslint/doctrine/issues/140","id":119312910,"number":140,"title":"Linker option for stringify","user":{"login":"tmcw","id":32314,"avatar_url":"https://avatars.githubusercontent.com/u/32314?v=3","gravatar_id":"","url":"https://api.github.com/users/tmcw","html_url":"https://github.com/tmcw","followers_url":"https://api.github.com/users/tmcw/followers","following_url":"https://api.github.com/users/tmcw/following{/other_user}","gists_url":"https://api.github.com/users/tmcw/gists{/gist_id}","starred_url":"https://api.github.com/users/tmcw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tmcw/subscriptions","organizations_url":"https://api.github.com/users/tmcw/orgs","repos_url":"https://api.github.com/users/tmcw/repos","events_url":"https://api.github.com/users/tmcw/events{/privacy}","received_events_url":"https://api.github.com/users/tmcw/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/eslint/doctrine/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/eslint/doctrine/labels/proposal","name":"proposal","color":"fef2c0"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-11-28T18:58:05Z","updated_at":"2015-12-04T01:14:28Z","closed_at":null,"body":"I'd love to [switch documentation.js's type formatting to doctrine's own](https://github.com/documentationjs/documentation/pull/264), so that it can support the full range of output. Right now, though, there's a strong emphasis on type interlinking in documentation.js - everything from user types to JS primitives either interlink or link to MDN. I'd like to keep this in the switch.\r\n\r\nOne way to implement this would be to supply a 'linker' option to the stringify method. Would you be open to this sort of PR?"},"comment":{"url":"https://api.github.com/repos/eslint/doctrine/issues/comments/161843249","html_url":"https://github.com/eslint/doctrine/issues/140#issuecomment-161843249","issue_url":"https://api.github.com/repos/eslint/doctrine/issues/140","id":161843249,"user":{"login":"nzakas","id":38546,"avatar_url":"https://avatars.githubusercontent.com/u/38546?v=3","gravatar_id":"","url":"https://api.github.com/users/nzakas","html_url":"https://github.com/nzakas","followers_url":"https://api.github.com/users/nzakas/followers","following_url":"https://api.github.com/users/nzakas/following{/other_user}","gists_url":"https://api.github.com/users/nzakas/gists{/gist_id}","starred_url":"https://api.github.com/users/nzakas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nzakas/subscriptions","organizations_url":"https://api.github.com/users/nzakas/orgs","repos_url":"https://api.github.com/users/nzakas/repos","events_url":"https://api.github.com/users/nzakas/events{/privacy}","received_events_url":"https://api.github.com/users/nzakas/received_events","type":"User","site_admin":false},"created_at":"2015-12-04T01:14:28Z","updated_at":"2015-12-04T01:14:28Z","body":"I think a linker is too specific for doctrine. I'm just curious if there's a more generic solution that could be used for your use case as well as others. Like maybe a replacer function similar to the second argument of `JSON.stringify` (https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/JSON/stringify#The_replacer_parameter)"}}