{"action":"created","issue":{"url":"https://api.github.com/repos/jsdoc3/jsdoc/issues/900","labels_url":"https://api.github.com/repos/jsdoc3/jsdoc/issues/900/labels{/name}","comments_url":"https://api.github.com/repos/jsdoc3/jsdoc/issues/900/comments","events_url":"https://api.github.com/repos/jsdoc3/jsdoc/issues/900/events","html_url":"https://github.com/jsdoc3/jsdoc/issues/900","id":56143780,"number":900,"title":"\"defaultvalue\" not strictly correct","user":{"login":"75lb","id":1247980,"avatar_url":"https://avatars.githubusercontent.com/u/1247980?v=3","gravatar_id":"","url":"https://api.github.com/users/75lb","html_url":"https://github.com/75lb","followers_url":"https://api.github.com/users/75lb/followers","following_url":"https://api.github.com/users/75lb/following{/other_user}","gists_url":"https://api.github.com/users/75lb/gists{/gist_id}","starred_url":"https://api.github.com/users/75lb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/75lb/subscriptions","organizations_url":"https://api.github.com/users/75lb/orgs","repos_url":"https://api.github.com/users/75lb/repos","events_url":"https://api.github.com/users/75lb/events{/privacy}","received_events_url":"https://api.github.com/users/75lb/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/jsdoc3/jsdoc/labels/bugfix","name":"bugfix","color":"ffd387"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/jsdoc3/jsdoc/milestones/14","labels_url":"https://api.github.com/repos/jsdoc3/jsdoc/milestones/14/labels","id":914785,"number":14,"title":"3.3.x","description":"","creator":{"login":"hegemonic","id":1522391,"avatar_url":"https://avatars.githubusercontent.com/u/1522391?v=3","gravatar_id":"","url":"https://api.github.com/users/hegemonic","html_url":"https://github.com/hegemonic","followers_url":"https://api.github.com/users/hegemonic/followers","following_url":"https://api.github.com/users/hegemonic/following{/other_user}","gists_url":"https://api.github.com/users/hegemonic/gists{/gist_id}","starred_url":"https://api.github.com/users/hegemonic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hegemonic/subscriptions","organizations_url":"https://api.github.com/users/hegemonic/orgs","repos_url":"https://api.github.com/users/hegemonic/repos","events_url":"https://api.github.com/users/hegemonic/events{/privacy}","received_events_url":"https://api.github.com/users/hegemonic/received_events","type":"User","site_admin":false},"open_issues":5,"closed_issues":1,"state":"open","created_at":"2014-12-25T21:13:33Z","updated_at":"2015-02-01T21:39:16Z","due_on":null,"closed_at":null},"comments":4,"created_at":"2015-01-31T23:16:03Z","updated_at":"2015-02-01T21:39:16Z","closed_at":"2015-02-01T21:39:16Z","body":"with this JS: \r\n```js\r\n/**\r\n@enum {number}\r\n*/\r\nvar eSomething = {\r\n    one: 1,\r\n    two: 2,\r\n    three: 3\r\n};\r\n```\r\n\r\nthe output from `jsdoc -X` states that the `defaultvalue` of `one` is `\"1\"` - it's not `\"1\"`, it is `1` (i.e. a `number`, not a `string` value). \r\n\r\nthis doesn't sound like a big deal but, in my app, i want to accurately report the type of the `defaultvalue`.. I `JSON.stringify` the `defaultvalue` to return a string which accurately reflects it's type.. if this issue was resolved, my app would output this: \r\n\r\n| Property | Default |\r\n| --- | --- |\r\n| one | `1` | \r\n| two | `2` | \r\n| three | `3` | \r\n\r\nbut i currently get this, which is inaccurate:\r\n\r\n| Property | Default |\r\n| --- | --- |\r\n| one | `\"1\"` | \r\n| two | `\"2\"` | \r\n| three | `\"3\"` | "},"comment":{"url":"https://api.github.com/repos/jsdoc3/jsdoc/issues/comments/72385693","html_url":"https://github.com/jsdoc3/jsdoc/issues/900#issuecomment-72385693","issue_url":"https://api.github.com/repos/jsdoc3/jsdoc/issues/900","id":72385693,"user":{"login":"hegemonic","id":1522391,"avatar_url":"https://avatars.githubusercontent.com/u/1522391?v=3","gravatar_id":"","url":"https://api.github.com/users/hegemonic","html_url":"https://github.com/hegemonic","followers_url":"https://api.github.com/users/hegemonic/followers","following_url":"https://api.github.com/users/hegemonic/following{/other_user}","gists_url":"https://api.github.com/users/hegemonic/gists{/gist_id}","starred_url":"https://api.github.com/users/hegemonic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hegemonic/subscriptions","organizations_url":"https://api.github.com/users/hegemonic/orgs","repos_url":"https://api.github.com/users/hegemonic/repos","events_url":"https://api.github.com/users/hegemonic/events{/privacy}","received_events_url":"https://api.github.com/users/hegemonic/received_events","type":"User","site_admin":false},"created_at":"2015-02-01T21:39:16Z","updated_at":"2015-02-01T21:39:16Z","body":"Fixed on master and releases/3.3. (It didn't take quite as long as I expected!) The fix will be in JSDoc 3.3.0."}}