{"action":"created","issue":{"url":"https://api.github.com/repos/fable-compiler/Fable/issues/419","repository_url":"https://api.github.com/repos/fable-compiler/Fable","labels_url":"https://api.github.com/repos/fable-compiler/Fable/issues/419/labels{/name}","comments_url":"https://api.github.com/repos/fable-compiler/Fable/issues/419/comments","events_url":"https://api.github.com/repos/fable-compiler/Fable/issues/419/events","html_url":"https://github.com/fable-compiler/Fable/pull/419","id":177183339,"number":419,"title":"[WIP] Remove need for json $type","user":{"login":"davidtme","id":1804141,"avatar_url":"https://avatars.githubusercontent.com/u/1804141?v=3","gravatar_id":"","url":"https://api.github.com/users/davidtme","html_url":"https://github.com/davidtme","followers_url":"https://api.github.com/users/davidtme/followers","following_url":"https://api.github.com/users/davidtme/following{/other_user}","gists_url":"https://api.github.com/users/davidtme/gists{/gist_id}","starred_url":"https://api.github.com/users/davidtme/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidtme/subscriptions","organizations_url":"https://api.github.com/users/davidtme/orgs","repos_url":"https://api.github.com/users/davidtme/repos","events_url":"https://api.github.com/users/davidtme/events{/privacy}","received_events_url":"https://api.github.com/users/davidtme/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":12,"created_at":"2016-09-15T13:53:53Z","updated_at":"2016-10-10T18:19:37Z","closed_at":"2016-10-10T18:19:37Z","pull_request":{"url":"https://api.github.com/repos/fable-compiler/Fable/pulls/419","html_url":"https://github.com/fable-compiler/Fable/pull/419","diff_url":"https://github.com/fable-compiler/Fable/pull/419.diff","patch_url":"https://github.com/fable-compiler/Fable/pull/419.patch"},"body":"At the moment to support Json you (realistically) need to use Newtonsoft.Json with ```TypeNameHandling=TypeNameHandling.All``` which adds ```$type``` everywhere.  There are a few problems with this:\r\n\r\n1. Larger json\r\n2. Need to keep client and server code in sync\r\n3. 3rd parties can’t/won’t allow this option or don’t use json.net\r\n\r\nI have a WIP branch which tries remove this dependence by added extra info into ```setInterfaces```.  At the moment it doesn’t provided all the support the normal ```ofJson``` does so I have created a ```ofJsonSimple```\r\n"},"comment":{"url":"https://api.github.com/repos/fable-compiler/Fable/issues/comments/252699482","html_url":"https://github.com/fable-compiler/Fable/pull/419#issuecomment-252699482","issue_url":"https://api.github.com/repos/fable-compiler/Fable/issues/419","id":252699482,"user":{"login":"alfonsogarciacaro","id":8275461,"avatar_url":"https://avatars.githubusercontent.com/u/8275461?v=3","gravatar_id":"","url":"https://api.github.com/users/alfonsogarciacaro","html_url":"https://github.com/alfonsogarciacaro","followers_url":"https://api.github.com/users/alfonsogarciacaro/followers","following_url":"https://api.github.com/users/alfonsogarciacaro/following{/other_user}","gists_url":"https://api.github.com/users/alfonsogarciacaro/gists{/gist_id}","starred_url":"https://api.github.com/users/alfonsogarciacaro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alfonsogarciacaro/subscriptions","organizations_url":"https://api.github.com/users/alfonsogarciacaro/orgs","repos_url":"https://api.github.com/users/alfonsogarciacaro/repos","events_url":"https://api.github.com/users/alfonsogarciacaro/events{/privacy}","received_events_url":"https://api.github.com/users/alfonsogarciacaro/received_events","type":"User","site_admin":false},"created_at":"2016-10-10T18:19:37Z","updated_at":"2016-10-10T18:19:37Z","body":"Closing this as it's been superseded by #463. Thanks a lot @davidtme for starting the work that has brought a new reflection system to Fable and removed the need to include `$type` info in the JSON!"}}
{"actor":{"display_login":"alfonsogarciacaro"}}