{"action":"created","issue":{"url":"https://api.github.com/repos/apiaryio/drafter/issues/251","repository_url":"https://api.github.com/repos/apiaryio/drafter","labels_url":"https://api.github.com/repos/apiaryio/drafter/issues/251/labels{/name}","comments_url":"https://api.github.com/repos/apiaryio/drafter/issues/251/comments","events_url":"https://api.github.com/repos/apiaryio/drafter/issues/251/events","html_url":"https://github.com/apiaryio/drafter/issues/251","id":142439412,"number":251,"title":"Set default value to Infinity","user":{"login":"Baggz","id":95191,"avatar_url":"https://avatars.githubusercontent.com/u/95191?v=3","gravatar_id":"","url":"https://api.github.com/users/Baggz","html_url":"https://github.com/Baggz","followers_url":"https://api.github.com/users/Baggz/followers","following_url":"https://api.github.com/users/Baggz/following{/other_user}","gists_url":"https://api.github.com/users/Baggz/gists{/gist_id}","starred_url":"https://api.github.com/users/Baggz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Baggz/subscriptions","organizations_url":"https://api.github.com/users/Baggz/orgs","repos_url":"https://api.github.com/users/Baggz/repos","events_url":"https://api.github.com/users/Baggz/events{/privacy}","received_events_url":"https://api.github.com/users/Baggz/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-03-21T19:00:41Z","updated_at":"2016-04-07T14:20:25Z","closed_at":null,"body":"Hello,\r\n\r\nI'm trying to set default value to Infinity...\r\n\r\n```\r\n* maxInheritanceDepth: 3 (number)\r\n    * Default: Infinity\r\n```\r\n\r\n...but the Refract I'm getting is the following.\r\n\r\n```\r\n{\r\n  \"element\":\"member\",\r\n  \"content\":{\r\n    \"key\":{\r\n      \"element\":\"string\",\r\n      \"content\":\"maxInheritanceDepth\"\r\n    },\r\n    \"value\":{\r\n      \"element\":\"number\",\r\n      \"attributes\":{\r\n        \"default\":null\r\n      },\r\n      \"content\":3\r\n    }\r\n  }\r\n}\r\n```\r\n\r\nYou can see that `default` is set to `null`.\r\n\r\nIs that an intended behaviour?\r\n\r\nThanks for the clarification!"},"comment":{"url":"https://api.github.com/repos/apiaryio/drafter/issues/comments/206927788","html_url":"https://github.com/apiaryio/drafter/issues/251#issuecomment-206927788","issue_url":"https://api.github.com/repos/apiaryio/drafter/issues/251","id":206927788,"user":{"login":"pksunkara","id":174703,"avatar_url":"https://avatars.githubusercontent.com/u/174703?v=3","gravatar_id":"","url":"https://api.github.com/users/pksunkara","html_url":"https://github.com/pksunkara","followers_url":"https://api.github.com/users/pksunkara/followers","following_url":"https://api.github.com/users/pksunkara/following{/other_user}","gists_url":"https://api.github.com/users/pksunkara/gists{/gist_id}","starred_url":"https://api.github.com/users/pksunkara/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pksunkara/subscriptions","organizations_url":"https://api.github.com/users/pksunkara/orgs","repos_url":"https://api.github.com/users/pksunkara/repos","events_url":"https://api.github.com/users/pksunkara/events{/privacy}","received_events_url":"https://api.github.com/users/pksunkara/received_events","type":"User","site_admin":false},"created_at":"2016-04-07T14:20:25Z","updated_at":"2016-04-07T14:20:25Z","body":"I don't think we should consider `Infinity` as a number. It is not a valid MSON number for now. I don't know how the parser is even supporting it. I haven't written the logic for it AFAIK."}}