{"action":"created","issue":{"url":"https://api.github.com/repos/mrdoob/three.js/issues/8528","repository_url":"https://api.github.com/repos/mrdoob/three.js","labels_url":"https://api.github.com/repos/mrdoob/three.js/issues/8528/labels{/name}","comments_url":"https://api.github.com/repos/mrdoob/three.js/issues/8528/comments","events_url":"https://api.github.com/repos/mrdoob/three.js/issues/8528/events","html_url":"https://github.com/mrdoob/three.js/issues/8528","id":145867467,"number":8528,"title":"'data' property missing in TeapotBufferGeometry.toJSON()?","user":{"login":"panlina","id":18240847,"avatar_url":"https://avatars.githubusercontent.com/u/18240847?v=3","gravatar_id":"","url":"https://api.github.com/users/panlina","html_url":"https://github.com/panlina","followers_url":"https://api.github.com/users/panlina/followers","following_url":"https://api.github.com/users/panlina/following{/other_user}","gists_url":"https://api.github.com/users/panlina/gists{/gist_id}","starred_url":"https://api.github.com/users/panlina/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/panlina/subscriptions","organizations_url":"https://api.github.com/users/panlina/orgs","repos_url":"https://api.github.com/users/panlina/repos","events_url":"https://api.github.com/users/panlina/events{/privacy}","received_events_url":"https://api.github.com/users/panlina/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/mrdoob/three.js/labels/Enhancement","name":"Enhancement","color":"deffdb"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-04-05T02:34:59Z","updated_at":"2016-04-05T14:23:34Z","closed_at":null,"body":"##### Description of the problem \r\n\r\n`new THREE.TeapotBufferGeometry().toJSON()` returns something like this:\r\n```\r\n{\r\n\"metadata\":{\"version\":4.4,\"type\":\"BufferGeometry\",\"generator\":\"BufferGeometry.toJSON\"},\r\n\"uuid\":\"4B6D5F88-5A26-4A7C-B16F-C6399B17BEF6\",\r\n\"type\":\"TeapotBufferGeometry\"\r\n}\r\n```\r\n`data` property is missing. Bug?\r\n##### Three.js version\r\n\r\n- [ ] Dev\r\n- [x] r75\r\n- [ ] ...\r\n\r\n##### Browser\r\n\r\n- [x] All of them\r\n- [ ] Chrome\r\n- [ ] Firefox\r\n- [ ] Internet Explorer\r\n\r\n##### OS\r\n\r\n- [x] All of them\r\n- [ ] Windows\r\n- [ ] Linux\r\n- [ ] Android\r\n- [ ] IOS\r\n\r\n##### Hardware Requirements (graphics card, VR Device, ...)\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/mrdoob/three.js/issues/comments/205831634","html_url":"https://github.com/mrdoob/three.js/issues/8528#issuecomment-205831634","issue_url":"https://api.github.com/repos/mrdoob/three.js/issues/8528","id":205831634,"user":{"login":"gero3","id":155535,"avatar_url":"https://avatars.githubusercontent.com/u/155535?v=3","gravatar_id":"","url":"https://api.github.com/users/gero3","html_url":"https://github.com/gero3","followers_url":"https://api.github.com/users/gero3/followers","following_url":"https://api.github.com/users/gero3/following{/other_user}","gists_url":"https://api.github.com/users/gero3/gists{/gist_id}","starred_url":"https://api.github.com/users/gero3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gero3/subscriptions","organizations_url":"https://api.github.com/users/gero3/orgs","repos_url":"https://api.github.com/users/gero3/repos","events_url":"https://api.github.com/users/gero3/events{/privacy}","received_events_url":"https://api.github.com/users/gero3/received_events","type":"User","site_admin":false},"created_at":"2016-04-05T14:23:34Z","updated_at":"2016-04-05T14:23:34Z","body":"The syntax is wrong.\r\n\r\nIt should be \r\n\r\n    (new THREE.TeapotBufferGeometry()).toJSON()\r\n\r\nto work as expected"}}