{"action":"created","comment":{"url":"https://api.github.com/repos/sillsdev/appbuilder-portal/pulls/comments/212804750","pull_request_review_id":149516977,"id":212804750,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIxMjgwNDc1MA==","diff_hunk":"@@ -0,0 +1,14 @@\n+﻿using System.Linq;\n+using SimpleJson;\n+\n+namespace SIL.AppBuilder.BuildEngineApiClient\n+{\n+    public class SnakeJsonSerializerStrategy : PocoJsonSerializerStrategy\n+    {\n+        protected override string MapClrMemberNameToJsonFieldName(string clrPropertyName)\n+        {\n+            //PascalCase to snake_case","path":"source/SIL.AppBuilder.BuildEngineApiClient/SnakeJsonSerializerStrategy.cs","position":10,"original_position":10,"commit_id":"2dcc0613159422e950a1bdbdcf6bb9c9f9255eb7","original_commit_id":"2dcc0613159422e950a1bdbdcf6bb9c9f9255eb7","user":{"login":"chrisvire","id":517814,"node_id":"MDQ6VXNlcjUxNzgxNA==","avatar_url":"https://avatars3.githubusercontent.com/u/517814?v=4","gravatar_id":"","url":"https://api.github.com/users/chrisvire","html_url":"https://github.com/chrisvire","followers_url":"https://api.github.com/users/chrisvire/followers","following_url":"https://api.github.com/users/chrisvire/following{/other_user}","gists_url":"https://api.github.com/users/chrisvire/gists{/gist_id}","starred_url":"https://api.github.com/users/chrisvire/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrisvire/subscriptions","organizations_url":"https://api.github.com/users/chrisvire/orgs","repos_url":"https://api.github.com/users/chrisvire/repos","events_url":"https://api.github.com/users/chrisvire/events{/privacy}","received_events_url":"https://api.github.com/users/chrisvire/received_events","type":"User","site_admin":false},"body":"@NullVoxPopuli, Newtonsoft.JSON has support for snake case, but RestSharp did work to remove the dependency.  I am not sure if it is worth adding a nuget dependency for this short amount of code.\r\nI did followed the [documentation recommendation](https://github.com/restsharp/RestSharp/wiki/Deserialization#overriding-jsonserializationstrategy) for overriding the serialization strategy.  I found a bug in their sample and [reported it](https://github.com/restsharp/RestSharp/issues/1159).","created_at":"2018-08-25T17:59:00Z","updated_at":"2018-08-25T17:59:00Z","html_url":"https://github.com/sillsdev/appbuilder-portal/pull/95#discussion_r212804750","pull_request_url":"https://api.github.com/repos/sillsdev/appbuilder-portal/pulls/95","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/sillsdev/appbuilder-portal/pulls/comments/212804750"},"html":{"href":"https://github.com/sillsdev/appbuilder-portal/pull/95#discussion_r212804750"},"pull_request":{"href":"https://api.github.com/repos/sillsdev/appbuilder-portal/pulls/95"}},"in_reply_to_id":212745081},"pull_request":{"url":"https://api.github.com/repos/sillsdev/appbuilder-portal/pulls/95","id":210277519,"node_id":"MDExOlB1bGxSZXF1ZXN0MjEwMjc3NTE5","html_url":"https://github.com/sillsdev/appbuilder-portal/pull/95","diff_url":"https://github.com/sillsdev/appbuilder-portal/pull/95.diff","patch_url":"https://github.com/sillsdev/appbuilder-portal/pull/95.patch","issue_url":"https://api.github.com/repos/sillsdev/appbuilder-portal/issues/95","number":95,"state":"open","locked":false,"title":"BuildEngineApiClient","user":{"login":"chrisvire","id":517814,"node_id":"MDQ6VXNlcjUxNzgxNA==","avatar_url":"https://avatars3.githubusercontent.com/u/517814?v=4","gravatar_id":"","url":"https://api.github.com/users/chrisvire","html_url":"https://github.com/chrisvire","followers_url":"https://api.github.com/users/chrisvire/followers","following_url":"https://api.github.com/users/chrisvire/following{/other_user}","gists_url":"https://api.github.com/users/chrisvire/gists{/gist_id}","starred_url":"https://api.github.com/users/chrisvire/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrisvire/subscriptions","organizations_url":"https://api.github.com/users/chrisvire/orgs","repos_url":"https://api.github.com/users/chrisvire/repos","events_url":"https://api.github.com/users/chrisvire/events{/privacy}","received_events_url":"https://api.github.com/users/chrisvire/received_events","type":"User","site_admin":false},"body":"Client Wrapper for BuildEngineAPI\r\n- [x] Accept BaseUrl and ApiAccessKey\r\n- [x] expose System Check\r\n- [x] expose Project Create/Get/GetAll/Delete (no Update)","created_at":"2018-08-22T22:01:45Z","updated_at":"2018-08-25T17:59:00Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f7d2b3c62238600f2298b03aadcd39c25316bef8","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/sillsdev/appbuilder-portal/pulls/95/commits","review_comments_url":"https://api.github.com/repos/sillsdev/appbuilder-portal/pulls/95/comments","review_comment_url":"https://api.github.com/repos/sillsdev/appbuilder-portal/pulls/comments{/number}","comments_url":"https://api.github.com/repos/sillsdev/appbuilder-portal/issues/95/comments","statuses_url":"https://api.github.com/repos/sillsdev/appbuilder-portal/statuses/2dcc0613159422e950a1bdbdcf6bb9c9f9255eb7","head":{"label":"sillsdev:feature/build-engine-api-client","ref":"feature/build-engine-api-client","sha":"2dcc0613159422e950a1bdbdcf6bb9c9f9255eb7","user":{"login":"sillsdev","id":1095739,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEwOTU3Mzk=","avatar_url":"https://avatars1.githubusercontent.com/u/1095739?v=4","gravatar_id":"","url":"https://api.github.com/users/sillsdev","html_url":"https://github.com/sillsdev","followers_url":"https://api.github.com/users/sillsdev/followers","following_url":"https://api.github.com/users/sillsdev/following{/other_user}","gists_url":"https://api.github.com/users/sillsdev/gists{/gist_id}","starred_url":"https://api.github.com/users/sillsdev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sillsdev/subscriptions","organizations_url":"https://api.github.com/users/sillsdev/orgs","repos_url":"https://api.github.com/users/sillsdev/repos","events_url":"https://api.github.com/users/sillsdev/events{/privacy}","received_events_url":"https://api.github.com/users/sillsdev/received_events","type":"Organization","site_admin":false},"repo":{"id":137372479,"node_id":"MDEwOlJlcG9zaXRvcnkxMzczNzI0Nzk=","name":"appbuilder-portal","full_name":"sillsdev/appbuilder-portal","owner":{"login":"sillsdev","id":1095739,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEwOTU3Mzk=","avatar_url":"https://avatars1.githubusercontent.com/u/1095739?v=4","gravatar_id":"","url":"https://api.github.com/users/sillsdev","html_url":"https://github.com/sillsdev","followers_url":"https://api.github.com/users/sillsdev/followers","following_url":"https://api.github.com/users/sillsdev/following{/other_user}","gists_url":"https://api.github.com/users/sillsdev/gists{/gist_id}","starred_url":"https://api.github.com/users/sillsdev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sillsdev/subscriptions","organizations_url":"https://api.github.com/users/sillsdev/orgs","repos_url":"https://api.github.com/users/sillsdev/repos","events_url":"https://api.github.com/users/sillsdev/events{/privacy}","received_events_url":"https://api.github.com/users/sillsdev/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/sillsdev/appbuilder-portal","description":"Portal for Scriptoria -- App Publishing Service","fork":false,"url":"https://api.github.com/repos/sillsdev/appbuilder-portal","forks_url":"https://api.github.com/repos/sillsdev/appbuilder-portal/forks","keys_url":"https://api.github.com/repos/sillsdev/appbuilder-portal/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sillsdev/appbuilder-portal/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sillsdev/appbuilder-portal/teams","hooks_url":"https://api.github.com/repos/sillsdev/appbuilder-portal/hooks","issue_events_url":"https://api.github.com/repos/sillsdev/appbuilder-portal/issues/events{/number}","events_url":"https://api.github.com/repos/sillsdev/appbuilder-portal/events","assignees_url":"https://api.github.com/repos/sillsdev/appbuilder-portal/assignees{/user}","branches_url":"https://api.github.com/repos/sillsdev/appbuilder-portal/branches{/branch}","tags_url":"https://api.github.com/repos/sillsdev/appbuilder-portal/tags","blobs_url":"https://api.github.com/repos/sillsdev/appbuilder-portal/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sillsdev/appbuilder-portal/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sillsdev/appbuilder-portal/git/refs{/sha}","trees_url":"https://api.github.com/repos/sillsdev/appbuilder-portal/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sillsdev/appbuilder-portal/statuses/{sha}","languages_url":"https://api.github.com/repos/sillsdev/appbuilder-portal/languages","stargazers_url":"https://api.github.com/repos/sillsdev/appbuilder-portal/stargazers","contributors_url":"https://api.github.com/repos/sillsdev/appbuilder-portal/contributors","subscribers_url":"https://api.github.com/repos/sillsdev/appbuilder-portal/subscribers","subscription_url":"https://api.github.com/repos/sillsdev/appbuilder-portal/subscription","commits_url":"https://api.github.com/repos/sillsdev/appbuilder-portal/commits{/sha}","git_commits_url":"https://api.github.com/repos/sillsdev/appbuilder-portal/git/commits{/sha}","comments_url":"https://api.github.com/repos/sillsdev/appbuilder-portal/comments{/number}","issue_comment_url":"https://api.github.com/repos/sillsdev/appbuilder-portal/issues/comments{/number}","contents_url":"https://api.github.com/repos/sillsdev/appbuilder-portal/contents/{+path}","compare_url":"https://api.github.com/repos/sillsdev/appbuilder-portal/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sillsdev/appbuilder-portal/merges","archive_url":"https://api.github.com/repos/sillsdev/appbuilder-portal/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sillsdev/appbuilder-portal/downloads","issues_url":"https://api.github.com/repos/sillsdev/appbuilder-portal/issues{/number}","pulls_url":"https://api.github.com/repos/sillsdev/appbuilder-portal/pulls{/number}","milestones_url":"https://api.github.com/repos/sillsdev/appbuilder-portal/milestones{/number}","notifications_url":"https://api.github.com/repos/sillsdev/appbuilder-portal/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sillsdev/appbuilder-portal/labels{/name}","releases_url":"https://api.github.com/repos/sillsdev/appbuilder-portal/releases{/id}","deployments_url":"https://api.github.com/repos/sillsdev/appbuilder-portal/deployments","created_at":"2018-06-14T14:55:18Z","updated_at":"2018-08-24T16:40:28Z","pushed_at":"2018-08-25T02:27:15Z","git_url":"git://github.com/sillsdev/appbuilder-portal.git","ssh_url":"git@github.com:sillsdev/appbuilder-portal.git","clone_url":"https://github.com/sillsdev/appbuilder-portal.git","svn_url":"https://github.com/sillsdev/appbuilder-portal","homepage":"","size":4706,"stargazers_count":4,"watchers_count":4,"language":"TypeScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":6,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":1,"open_issues":6,"watchers":4,"default_branch":"master"}},"base":{"label":"sillsdev:master","ref":"master","sha":"92e7ad413fd721867532ec5bf8595d572a7faac0","user":{"login":"sillsdev","id":1095739,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEwOTU3Mzk=","avatar_url":"https://avatars1.githubusercontent.com/u/1095739?v=4","gravatar_id":"","url":"https://api.github.com/users/sillsdev","html_url":"https://github.com/sillsdev","followers_url":"https://api.github.com/users/sillsdev/followers","following_url":"https://api.github.com/users/sillsdev/following{/other_user}","gists_url":"https://api.github.com/users/sillsdev/gists{/gist_id}","starred_url":"https://api.github.com/users/sillsdev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sillsdev/subscriptions","organizations_url":"https://api.github.com/users/sillsdev/orgs","repos_url":"https://api.github.com/users/sillsdev/repos","events_url":"https://api.github.com/users/sillsdev/events{/privacy}","received_events_url":"https://api.github.com/users/sillsdev/received_events","type":"Organization","site_admin":false},"repo":{"id":137372479,"node_id":"MDEwOlJlcG9zaXRvcnkxMzczNzI0Nzk=","name":"appbuilder-portal","full_name":"sillsdev/appbuilder-portal","owner":{"login":"sillsdev","id":1095739,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEwOTU3Mzk=","avatar_url":"https://avatars1.githubusercontent.com/u/1095739?v=4","gravatar_id":"","url":"https://api.github.com/users/sillsdev","html_url":"https://github.com/sillsdev","followers_url":"https://api.github.com/users/sillsdev/followers","following_url":"https://api.github.com/users/sillsdev/following{/other_user}","gists_url":"https://api.github.com/users/sillsdev/gists{/gist_id}","starred_url":"https://api.github.com/users/sillsdev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sillsdev/subscriptions","organizations_url":"https://api.github.com/users/sillsdev/orgs","repos_url":"https://api.github.com/users/sillsdev/repos","events_url":"https://api.github.com/users/sillsdev/events{/privacy}","received_events_url":"https://api.github.com/users/sillsdev/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/sillsdev/appbuilder-portal","description":"Portal for Scriptoria -- App Publishing Service","fork":false,"url":"https://api.github.com/repos/sillsdev/appbuilder-portal","forks_url":"https://api.github.com/repos/sillsdev/appbuilder-portal/forks","keys_url":"https://api.github.com/repos/sillsdev/appbuilder-portal/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sillsdev/appbuilder-portal/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sillsdev/appbuilder-portal/teams","hooks_url":"https://api.github.com/repos/sillsdev/appbuilder-portal/hooks","issue_events_url":"https://api.github.com/repos/sillsdev/appbuilder-portal/issues/events{/number}","events_url":"https://api.github.com/repos/sillsdev/appbuilder-portal/events","assignees_url":"https://api.github.com/repos/sillsdev/appbuilder-portal/assignees{/user}","branches_url":"https://api.github.com/repos/sillsdev/appbuilder-portal/branches{/branch}","tags_url":"https://api.github.com/repos/sillsdev/appbuilder-portal/tags","blobs_url":"https://api.github.com/repos/sillsdev/appbuilder-portal/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sillsdev/appbuilder-portal/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sillsdev/appbuilder-portal/git/refs{/sha}","trees_url":"https://api.github.com/repos/sillsdev/appbuilder-portal/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sillsdev/appbuilder-portal/statuses/{sha}","languages_url":"https://api.github.com/repos/sillsdev/appbuilder-portal/languages","stargazers_url":"https://api.github.com/repos/sillsdev/appbuilder-portal/stargazers","contributors_url":"https://api.github.com/repos/sillsdev/appbuilder-portal/contributors","subscribers_url":"https://api.github.com/repos/sillsdev/appbuilder-portal/subscribers","subscription_url":"https://api.github.com/repos/sillsdev/appbuilder-portal/subscription","commits_url":"https://api.github.com/repos/sillsdev/appbuilder-portal/commits{/sha}","git_commits_url":"https://api.github.com/repos/sillsdev/appbuilder-portal/git/commits{/sha}","comments_url":"https://api.github.com/repos/sillsdev/appbuilder-portal/comments{/number}","issue_comment_url":"https://api.github.com/repos/sillsdev/appbuilder-portal/issues/comments{/number}","contents_url":"https://api.github.com/repos/sillsdev/appbuilder-portal/contents/{+path}","compare_url":"https://api.github.com/repos/sillsdev/appbuilder-portal/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sillsdev/appbuilder-portal/merges","archive_url":"https://api.github.com/repos/sillsdev/appbuilder-portal/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sillsdev/appbuilder-portal/downloads","issues_url":"https://api.github.com/repos/sillsdev/appbuilder-portal/issues{/number}","pulls_url":"https://api.github.com/repos/sillsdev/appbuilder-portal/pulls{/number}","milestones_url":"https://api.github.com/repos/sillsdev/appbuilder-portal/milestones{/number}","notifications_url":"https://api.github.com/repos/sillsdev/appbuilder-portal/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sillsdev/appbuilder-portal/labels{/name}","releases_url":"https://api.github.com/repos/sillsdev/appbuilder-portal/releases{/id}","deployments_url":"https://api.github.com/repos/sillsdev/appbuilder-portal/deployments","created_at":"2018-06-14T14:55:18Z","updated_at":"2018-08-24T16:40:28Z","pushed_at":"2018-08-25T02:27:15Z","git_url":"git://github.com/sillsdev/appbuilder-portal.git","ssh_url":"git@github.com:sillsdev/appbuilder-portal.git","clone_url":"https://github.com/sillsdev/appbuilder-portal.git","svn_url":"https://github.com/sillsdev/appbuilder-portal","homepage":"","size":4706,"stargazers_count":4,"watchers_count":4,"language":"TypeScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":6,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":1,"open_issues":6,"watchers":4,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/sillsdev/appbuilder-portal/pulls/95"},"html":{"href":"https://github.com/sillsdev/appbuilder-portal/pull/95"},"issue":{"href":"https://api.github.com/repos/sillsdev/appbuilder-portal/issues/95"},"comments":{"href":"https://api.github.com/repos/sillsdev/appbuilder-portal/issues/95/comments"},"review_comments":{"href":"https://api.github.com/repos/sillsdev/appbuilder-portal/pulls/95/comments"},"review_comment":{"href":"https://api.github.com/repos/sillsdev/appbuilder-portal/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/sillsdev/appbuilder-portal/pulls/95/commits"},"statuses":{"href":"https://api.github.com/repos/sillsdev/appbuilder-portal/statuses/2dcc0613159422e950a1bdbdcf6bb9c9f9255eb7"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"chrisvire"}}