{"action":"closed","number":183,"pull_request":{"url":"https://api.github.com/repos/hyperion-project/hyperion.ng/pulls/183","id":81682610,"html_url":"https://github.com/hyperion-project/hyperion.ng/pull/183","diff_url":"https://github.com/hyperion-project/hyperion.ng/pull/183.diff","patch_url":"https://github.com/hyperion-project/hyperion.ng/pull/183.patch","issue_url":"https://api.github.com/repos/hyperion-project/hyperion.ng/issues/183","number":183,"state":"closed","locked":false,"title":"Update and fix JSON writer","user":{"login":"Paulchen-Panther","id":16664240,"avatar_url":"https://avatars.githubusercontent.com/u/16664240?v=3","gravatar_id":"","url":"https://api.github.com/users/Paulchen-Panther","html_url":"https://github.com/Paulchen-Panther","followers_url":"https://api.github.com/users/Paulchen-Panther/followers","following_url":"https://api.github.com/users/Paulchen-Panther/following{/other_user}","gists_url":"https://api.github.com/users/Paulchen-Panther/gists{/gist_id}","starred_url":"https://api.github.com/users/Paulchen-Panther/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Paulchen-Panther/subscriptions","organizations_url":"https://api.github.com/users/Paulchen-Panther/orgs","repos_url":"https://api.github.com/users/Paulchen-Panther/repos","events_url":"https://api.github.com/users/Paulchen-Panther/events{/privacy}","received_events_url":"https://api.github.com/users/Paulchen-Panther/received_events","type":"User","site_admin":false},"body":"**1.** Tell us something about your changes.\r\nUpdate:\r\nDie \"overwrite\" Option im Zusammenhang mit setConfig ermöglicht jetzt das komplette überschreiben der Hyperion config Datei. Bis jetzt war es nur möglich, die config zu aktualisieren oder mit der Zusatzoption  \"create\" neue Schlüssel hinzu zu fügen, wenn sich diese noch nicht in der config befunden haben.\r\n\r\nKleines Beispiel ausgehen von der Standard Konfigurationsdatei:\r\nSenden wir den unten stehenden JSON String an den Hyperionserver, versetzen wir den logger in den Debug modus. Dies funktioniert nur, wenn sich der logger schon in der config befindet. Sollte er nicht vorhanden sein, müssten wir die option \"create\" auf true setzen. Dadurch wird der Schlüssel in die aktuelle config hinzugefügt.\r\n\r\n{\"command\":\"config\",\"subcommand\":\"setconfig\",\"config\":{\"logger\":{\"level\":\"debug\"}},\"create\":false, \"overwrite\":false}\r\n\r\nUm eine komplett NEUE config zu erstellen, kann man jetzt die option \"overwrite\" auf true setzen. Dadurch wird die aktuelle config NICHT eingelesen und es wird nur noch der übertragene JSON String in der config geschrieben.\r\n\r\nFix:\r\nEs hat sich mal wieder ein Denkfehler eingeschlichen. Die Abfrage ob der Schlüssel \"create\" auf true gestellt ist war falsch. Es wurde nur abgefragt ob der Schlüssel vorhanden ist. Dies wurde korrigiert. \r\n\r\n**2.** If this changes affect the .conf file. Please provide the changed section\r\nnein\r\n","created_at":"2016-08-17T17:23:29Z","updated_at":"2016-08-18T19:11:21Z","closed_at":"2016-08-18T19:11:21Z","merged_at":"2016-08-18T19:11:21Z","merge_commit_sha":"b9ad2977de3e5f1c5bdfd6c6fe7835a7df19bec2","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/hyperion-project/hyperion.ng/pulls/183/commits","review_comments_url":"https://api.github.com/repos/hyperion-project/hyperion.ng/pulls/183/comments","review_comment_url":"https://api.github.com/repos/hyperion-project/hyperion.ng/pulls/comments{/number}","comments_url":"https://api.github.com/repos/hyperion-project/hyperion.ng/issues/183/comments","statuses_url":"https://api.github.com/repos/hyperion-project/hyperion.ng/statuses/1b01fe9985c28d5d24bccf40e562cd1fbaf9db6a","head":{"label":"Paulchen-Panther:json_writer","ref":"json_writer","sha":"1b01fe9985c28d5d24bccf40e562cd1fbaf9db6a","user":{"login":"Paulchen-Panther","id":16664240,"avatar_url":"https://avatars.githubusercontent.com/u/16664240?v=3","gravatar_id":"","url":"https://api.github.com/users/Paulchen-Panther","html_url":"https://github.com/Paulchen-Panther","followers_url":"https://api.github.com/users/Paulchen-Panther/followers","following_url":"https://api.github.com/users/Paulchen-Panther/following{/other_user}","gists_url":"https://api.github.com/users/Paulchen-Panther/gists{/gist_id}","starred_url":"https://api.github.com/users/Paulchen-Panther/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Paulchen-Panther/subscriptions","organizations_url":"https://api.github.com/users/Paulchen-Panther/orgs","repos_url":"https://api.github.com/users/Paulchen-Panther/repos","events_url":"https://api.github.com/users/Paulchen-Panther/events{/privacy}","received_events_url":"https://api.github.com/users/Paulchen-Panther/received_events","type":"User","site_admin":false},"repo":{"id":65915754,"name":"hyperion.ng","full_name":"Paulchen-Panther/hyperion.ng","owner":{"login":"Paulchen-Panther","id":16664240,"avatar_url":"https://avatars.githubusercontent.com/u/16664240?v=3","gravatar_id":"","url":"https://api.github.com/users/Paulchen-Panther","html_url":"https://github.com/Paulchen-Panther","followers_url":"https://api.github.com/users/Paulchen-Panther/followers","following_url":"https://api.github.com/users/Paulchen-Panther/following{/other_user}","gists_url":"https://api.github.com/users/Paulchen-Panther/gists{/gist_id}","starred_url":"https://api.github.com/users/Paulchen-Panther/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Paulchen-Panther/subscriptions","organizations_url":"https://api.github.com/users/Paulchen-Panther/orgs","repos_url":"https://api.github.com/users/Paulchen-Panther/repos","events_url":"https://api.github.com/users/Paulchen-Panther/events{/privacy}","received_events_url":"https://api.github.com/users/Paulchen-Panther/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Paulchen-Panther/hyperion.ng","description":"PRE ALPHA - The reworked version (next generation) of Hyperion","fork":true,"url":"https://api.github.com/repos/Paulchen-Panther/hyperion.ng","forks_url":"https://api.github.com/repos/Paulchen-Panther/hyperion.ng/forks","keys_url":"https://api.github.com/repos/Paulchen-Panther/hyperion.ng/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Paulchen-Panther/hyperion.ng/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Paulchen-Panther/hyperion.ng/teams","hooks_url":"https://api.github.com/repos/Paulchen-Panther/hyperion.ng/hooks","issue_events_url":"https://api.github.com/repos/Paulchen-Panther/hyperion.ng/issues/events{/number}","events_url":"https://api.github.com/repos/Paulchen-Panther/hyperion.ng/events","assignees_url":"https://api.github.com/repos/Paulchen-Panther/hyperion.ng/assignees{/user}","branches_url":"https://api.github.com/repos/Paulchen-Panther/hyperion.ng/branches{/branch}","tags_url":"https://api.github.com/repos/Paulchen-Panther/hyperion.ng/tags","blobs_url":"https://api.github.com/repos/Paulchen-Panther/hyperion.ng/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Paulchen-Panther/hyperion.ng/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Paulchen-Panther/hyperion.ng/git/refs{/sha}","trees_url":"https://api.github.com/repos/Paulchen-Panther/hyperion.ng/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Paulchen-Panther/hyperion.ng/statuses/{sha}","languages_url":"https://api.github.com/repos/Paulchen-Panther/hyperion.ng/languages","stargazers_url":"https://api.github.com/repos/Paulchen-Panther/hyperion.ng/stargazers","contributors_url":"https://api.github.com/repos/Paulchen-Panther/hyperion.ng/contributors","subscribers_url":"https://api.github.com/repos/Paulchen-Panther/hyperion.ng/subscribers","subscription_url":"https://api.github.com/repos/Paulchen-Panther/hyperion.ng/subscription","commits_url":"https://api.github.com/repos/Paulchen-Panther/hyperion.ng/commits{/sha}","git_commits_url":"https://api.github.com/repos/Paulchen-Panther/hyperion.ng/git/commits{/sha}","comments_url":"https://api.github.com/repos/Paulchen-Panther/hyperion.ng/comments{/number}","issue_comment_url":"https://api.github.com/repos/Paulchen-Panther/hyperion.ng/issues/comments{/number}","contents_url":"https://api.github.com/repos/Paulchen-Panther/hyperion.ng/contents/{+path}","compare_url":"https://api.github.com/repos/Paulchen-Panther/hyperion.ng/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Paulchen-Panther/hyperion.ng/merges","archive_url":"https://api.github.com/repos/Paulchen-Panther/hyperion.ng/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Paulchen-Panther/hyperion.ng/downloads","issues_url":"https://api.github.com/repos/Paulchen-Panther/hyperion.ng/issues{/number}","pulls_url":"https://api.github.com/repos/Paulchen-Panther/hyperion.ng/pulls{/number}","milestones_url":"https://api.github.com/repos/Paulchen-Panther/hyperion.ng/milestones{/number}","notifications_url":"https://api.github.com/repos/Paulchen-Panther/hyperion.ng/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Paulchen-Panther/hyperion.ng/labels{/name}","releases_url":"https://api.github.com/repos/Paulchen-Panther/hyperion.ng/releases{/id}","deployments_url":"https://api.github.com/repos/Paulchen-Panther/hyperion.ng/deployments","created_at":"2016-08-17T14:48:21Z","updated_at":"2016-08-17T14:48:24Z","pushed_at":"2016-08-17T16:37:29Z","git_url":"git://github.com/Paulchen-Panther/hyperion.ng.git","ssh_url":"git@github.com:Paulchen-Panther/hyperion.ng.git","clone_url":"https://github.com/Paulchen-Panther/hyperion.ng.git","svn_url":"https://github.com/Paulchen-Panther/hyperion.ng","homepage":"","size":9976,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"hyperion-project:master","ref":"master","sha":"e46d392ed1c9477afb84f36d4a7e4fc8b4766c71","user":{"login":"hyperion-project","id":17778452,"avatar_url":"https://avatars.githubusercontent.com/u/17778452?v=3","gravatar_id":"","url":"https://api.github.com/users/hyperion-project","html_url":"https://github.com/hyperion-project","followers_url":"https://api.github.com/users/hyperion-project/followers","following_url":"https://api.github.com/users/hyperion-project/following{/other_user}","gists_url":"https://api.github.com/users/hyperion-project/gists{/gist_id}","starred_url":"https://api.github.com/users/hyperion-project/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hyperion-project/subscriptions","organizations_url":"https://api.github.com/users/hyperion-project/orgs","repos_url":"https://api.github.com/users/hyperion-project/repos","events_url":"https://api.github.com/users/hyperion-project/events{/privacy}","received_events_url":"https://api.github.com/users/hyperion-project/received_events","type":"Organization","site_admin":false},"repo":{"id":61202664,"name":"hyperion.ng","full_name":"hyperion-project/hyperion.ng","owner":{"login":"hyperion-project","id":17778452,"avatar_url":"https://avatars.githubusercontent.com/u/17778452?v=3","gravatar_id":"","url":"https://api.github.com/users/hyperion-project","html_url":"https://github.com/hyperion-project","followers_url":"https://api.github.com/users/hyperion-project/followers","following_url":"https://api.github.com/users/hyperion-project/following{/other_user}","gists_url":"https://api.github.com/users/hyperion-project/gists{/gist_id}","starred_url":"https://api.github.com/users/hyperion-project/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hyperion-project/subscriptions","organizations_url":"https://api.github.com/users/hyperion-project/orgs","repos_url":"https://api.github.com/users/hyperion-project/repos","events_url":"https://api.github.com/users/hyperion-project/events{/privacy}","received_events_url":"https://api.github.com/users/hyperion-project/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/hyperion-project/hyperion.ng","description":"PRE ALPHA - The reworked version (next generation) of Hyperion","fork":false,"url":"https://api.github.com/repos/hyperion-project/hyperion.ng","forks_url":"https://api.github.com/repos/hyperion-project/hyperion.ng/forks","keys_url":"https://api.github.com/repos/hyperion-project/hyperion.ng/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hyperion-project/hyperion.ng/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hyperion-project/hyperion.ng/teams","hooks_url":"https://api.github.com/repos/hyperion-project/hyperion.ng/hooks","issue_events_url":"https://api.github.com/repos/hyperion-project/hyperion.ng/issues/events{/number}","events_url":"https://api.github.com/repos/hyperion-project/hyperion.ng/events","assignees_url":"https://api.github.com/repos/hyperion-project/hyperion.ng/assignees{/user}","branches_url":"https://api.github.com/repos/hyperion-project/hyperion.ng/branches{/branch}","tags_url":"https://api.github.com/repos/hyperion-project/hyperion.ng/tags","blobs_url":"https://api.github.com/repos/hyperion-project/hyperion.ng/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hyperion-project/hyperion.ng/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hyperion-project/hyperion.ng/git/refs{/sha}","trees_url":"https://api.github.com/repos/hyperion-project/hyperion.ng/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hyperion-project/hyperion.ng/statuses/{sha}","languages_url":"https://api.github.com/repos/hyperion-project/hyperion.ng/languages","stargazers_url":"https://api.github.com/repos/hyperion-project/hyperion.ng/stargazers","contributors_url":"https://api.github.com/repos/hyperion-project/hyperion.ng/contributors","subscribers_url":"https://api.github.com/repos/hyperion-project/hyperion.ng/subscribers","subscription_url":"https://api.github.com/repos/hyperion-project/hyperion.ng/subscription","commits_url":"https://api.github.com/repos/hyperion-project/hyperion.ng/commits{/sha}","git_commits_url":"https://api.github.com/repos/hyperion-project/hyperion.ng/git/commits{/sha}","comments_url":"https://api.github.com/repos/hyperion-project/hyperion.ng/comments{/number}","issue_comment_url":"https://api.github.com/repos/hyperion-project/hyperion.ng/issues/comments{/number}","contents_url":"https://api.github.com/repos/hyperion-project/hyperion.ng/contents/{+path}","compare_url":"https://api.github.com/repos/hyperion-project/hyperion.ng/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hyperion-project/hyperion.ng/merges","archive_url":"https://api.github.com/repos/hyperion-project/hyperion.ng/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hyperion-project/hyperion.ng/downloads","issues_url":"https://api.github.com/repos/hyperion-project/hyperion.ng/issues{/number}","pulls_url":"https://api.github.com/repos/hyperion-project/hyperion.ng/pulls{/number}","milestones_url":"https://api.github.com/repos/hyperion-project/hyperion.ng/milestones{/number}","notifications_url":"https://api.github.com/repos/hyperion-project/hyperion.ng/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hyperion-project/hyperion.ng/labels{/name}","releases_url":"https://api.github.com/repos/hyperion-project/hyperion.ng/releases{/id}","deployments_url":"https://api.github.com/repos/hyperion-project/hyperion.ng/deployments","created_at":"2016-06-15T11:24:38Z","updated_at":"2016-07-26T00:58:57Z","pushed_at":"2016-08-18T19:11:21Z","git_url":"git://github.com/hyperion-project/hyperion.ng.git","ssh_url":"git@github.com:hyperion-project/hyperion.ng.git","clone_url":"https://github.com/hyperion-project/hyperion.ng.git","svn_url":"https://github.com/hyperion-project/hyperion.ng","homepage":"","size":10147,"stargazers_count":3,"watchers_count":3,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":10,"mirror_url":null,"open_issues_count":24,"forks":10,"open_issues":24,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/hyperion-project/hyperion.ng/pulls/183"},"html":{"href":"https://github.com/hyperion-project/hyperion.ng/pull/183"},"issue":{"href":"https://api.github.com/repos/hyperion-project/hyperion.ng/issues/183"},"comments":{"href":"https://api.github.com/repos/hyperion-project/hyperion.ng/issues/183/comments"},"review_comments":{"href":"https://api.github.com/repos/hyperion-project/hyperion.ng/pulls/183/comments"},"review_comment":{"href":"https://api.github.com/repos/hyperion-project/hyperion.ng/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/hyperion-project/hyperion.ng/pulls/183/commits"},"statuses":{"href":"https://api.github.com/repos/hyperion-project/hyperion.ng/statuses/1b01fe9985c28d5d24bccf40e562cd1fbaf9db6a"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"redPanther","id":6893049,"avatar_url":"https://avatars.githubusercontent.com/u/6893049?v=3","gravatar_id":"","url":"https://api.github.com/users/redPanther","html_url":"https://github.com/redPanther","followers_url":"https://api.github.com/users/redPanther/followers","following_url":"https://api.github.com/users/redPanther/following{/other_user}","gists_url":"https://api.github.com/users/redPanther/gists{/gist_id}","starred_url":"https://api.github.com/users/redPanther/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/redPanther/subscriptions","organizations_url":"https://api.github.com/users/redPanther/orgs","repos_url":"https://api.github.com/users/redPanther/repos","events_url":"https://api.github.com/users/redPanther/events{/privacy}","received_events_url":"https://api.github.com/users/redPanther/received_events","type":"User","site_admin":false},"comments":1,"review_comments":0,"commits":5,"additions":11,"deletions":5,"changed_files":5}}
{"actor":{"display_login":"redPanther"}}