{"action":"created","issue":{"url":"https://api.github.com/repos/jdorn/json-editor/issues/319","labels_url":"https://api.github.com/repos/jdorn/json-editor/issues/319/labels{/name}","comments_url":"https://api.github.com/repos/jdorn/json-editor/issues/319/comments","events_url":"https://api.github.com/repos/jdorn/json-editor/issues/319/events","html_url":"https://github.com/jdorn/json-editor/pull/319","id":53550587,"number":319,"title":"removed setValue from switcher for oneOf, setValue was messing things up...","user":{"login":"Kestrel12","id":6818144,"avatar_url":"https://avatars.githubusercontent.com/u/6818144?v=3","gravatar_id":"","url":"https://api.github.com/users/Kestrel12","html_url":"https://github.com/Kestrel12","followers_url":"https://api.github.com/users/Kestrel12/followers","following_url":"https://api.github.com/users/Kestrel12/following{/other_user}","gists_url":"https://api.github.com/users/Kestrel12/gists{/gist_id}","starred_url":"https://api.github.com/users/Kestrel12/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kestrel12/subscriptions","organizations_url":"https://api.github.com/users/Kestrel12/orgs","repos_url":"https://api.github.com/users/Kestrel12/repos","events_url":"https://api.github.com/users/Kestrel12/events{/privacy}","received_events_url":"https://api.github.com/users/Kestrel12/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-01-06T19:09:22Z","updated_at":"2015-01-06T21:57:44Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/jdorn/json-editor/pulls/319","html_url":"https://github.com/jdorn/json-editor/pull/319","diff_url":"https://github.com/jdorn/json-editor/pull/319.diff","patch_url":"https://github.com/jdorn/json-editor/pull/319.patch"},"body":"removed setValue from switcher for oneOf, setValue was messing things up by adding fields from the current editor to the one being switched to. This may need a better solution later, maybe should be mapping fields if matches can be found, but throwing out ones that don't match"},"comment":{"url":"https://api.github.com/repos/jdorn/json-editor/issues/comments/68941469","html_url":"https://github.com/jdorn/json-editor/pull/319#issuecomment-68941469","issue_url":"https://api.github.com/repos/jdorn/json-editor/issues/319","id":68941469,"user":{"login":"Kestrel12","id":6818144,"avatar_url":"https://avatars.githubusercontent.com/u/6818144?v=3","gravatar_id":"","url":"https://api.github.com/users/Kestrel12","html_url":"https://github.com/Kestrel12","followers_url":"https://api.github.com/users/Kestrel12/followers","following_url":"https://api.github.com/users/Kestrel12/following{/other_user}","gists_url":"https://api.github.com/users/Kestrel12/gists{/gist_id}","starred_url":"https://api.github.com/users/Kestrel12/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kestrel12/subscriptions","organizations_url":"https://api.github.com/users/Kestrel12/orgs","repos_url":"https://api.github.com/users/Kestrel12/repos","events_url":"https://api.github.com/users/Kestrel12/events{/privacy}","received_events_url":"https://api.github.com/users/Kestrel12/received_events","type":"User","site_admin":false},"created_at":"2015-01-06T21:57:44Z","updated_at":"2015-01-06T21:57:44Z","body":"No worries, I ran into this issue as well, so I needed to fix it anyway. But it sounds like setting no_additional_properties: true is a better option, so thanks for that. Although I kind of think that should be the default behavior, but oh well."}}