payload: {"action":"created","comment":{"url":"https://api.github.com/repos/aspnet/AspNetCore.Docs/pulls/comments/326297222","pull_request_review_id":290724554,"id":326297222,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDMyNjI5NzIyMg==","diff_hunk":"@@ -127,17 +148,15 @@ public IActionResult Get()\n \n ### Add Newtonsoft.Json-based JSON format support\n \n-Prior to ASP.NET Core 3.0, MVC defaulted to using JSON formatters implemented using the `Newtonsoft.Json` package. In ASP.NET Core 3.0 or later, the default JSON formatters are based on `System.Text.Json`. Support for `Newtonsoft.Json`-based formatters and features is available by installing the [Microsoft.AspNetCore.Mvc.NewtonsoftJson](https://www.nuget.org/packages/Microsoft.AspNetCore.Mvc.NewtonsoftJson/) NuGet package and configuring it in `Startup.ConfigureServices`.\n+Prior to ASP.NET Core 3.0, the default used JSON formatters implemented using the `Newtonsoft.Json` package. In ASP.NET Core 3.0 or later, the default JSON formatters are based on `System.Text.Json`. Support for `Newtonsoft.Json` based formatters and features is available by installing the [Microsoft.AspNetCore.Mvc.NewtonsoftJson](https://www.nuget.org/packages/Microsoft.AspNetCore.Mvc.NewtonsoftJson/) NuGet package and configuring it in `Startup.ConfigureServices`.\n \n-```csharp\n-services.AddControllers()\n-    .AddNewtonsoftJson();\n-```\n+[!code-csharp[](./formatting/3.0sample/StartupNewtonsoftJson.cs?name=snippet)]\n \n-Some features may not work well with `System.Text.Json`-based formatters and require a reference to the `Newtonsoft.Json`-based formatters for the ASP.NET Core 3.0\n-release. Continue using the `Newtonsoft.Json`-based formatters if your ASP.NET Core 3.0 or later app:\n+Some features may not work well with `System.Text.Json`-based formatters and require a reference to the `Newtonsoft.Json`-based formatters. Continue using the `Newtonsoft.Json`-based formatters if the app:\n \n-* Uses `Newtonsoft.Json` attributes (for example, `[JsonProperty]` or `[JsonIgnore]`), customizes the serialization settings, or relies on features that `Newtonsoft.Json` provides.\n+* Uses `Newtonsoft.Json` attributes. For example, `[JsonProperty]` or `[JsonIgnore]`.\n+* Customizes the serialization settings.\n+* Relies on features that `Newtonsoft.Json` provides.","path":"aspnetcore/web-api/advanced/formatting.md","position":189,"original_position":189,"commit_id":"b2369329895e6fdc4eb54c966adfeb403eb58580","original_commit_id":"b2369329895e6fdc4eb54c966adfeb403eb58580","user":{"login":"pranavkm","id":174281,"node_id":"MDQ6VXNlcjE3NDI4MQ==","avatar_url":"https://avatars2.githubusercontent.com/u/174281?v=4","gravatar_id":"","url":"https://api.github.com/users/pranavkm","html_url":"https://github.com/pranavkm","followers_url":"https://api.github.com/users/pranavkm/followers","following_url":"https://api.github.com/users/pranavkm/following{/other_user}","gists_url":"https://api.github.com/users/pranavkm/gists{/gist_id}","starred_url":"https://api.github.com/users/pranavkm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pranavkm/subscriptions","organizations_url":"https://api.github.com/users/pranavkm/orgs","repos_url":"https://api.github.com/users/pranavkm/repos","events_url":"https://api.github.com/users/pranavkm/events{/privacy}","received_events_url":"https://api.github.com/users/pranavkm/received_events","type":"User","site_admin":false},"body":"Could you toss in \"Uses JsonPatch\" in here?","created_at":"2019-09-19T17:33:58Z","updated_at":"2019-09-19T17:45:57Z","html_url":"https://github.com/aspnet/AspNetCore.Docs/pull/12077#discussion_r326297222","pull_request_url":"https://api.github.com/repos/aspnet/AspNetCore.Docs/pulls/12077","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/aspnet/AspNetCore.Docs/pulls/comments/326297222"},"html":{"href":"https://github.com/aspnet/AspNetCore.Docs/pull/12077#discussion_r326297222"},"pull_request":{"href":"https://api.github.com/repos/aspnet/AspNetCore.Docs/pulls/12077"}}},"pull_request":{"url":"https://api.github.com/repos/aspnet/AspNetCore.Docs/pulls/12077","id":272125408,"node_id":"MDExOlB1bGxSZXF1ZXN0MjcyMTI1NDA4","html_url":"https://github.com/aspnet/AspNetCore.Docs/pull/12077","diff_url":"https://github.com/aspnet/AspNetCore.Docs/pull/12077.diff","patch_url":"https://github.com/aspnet/AspNetCore.Docs/pull/12077.patch","issue_url":"https://api.github.com/repos/aspnet/AspNetCore.Docs/issues/12077","number":12077,"state":"open","locked":false,"title":"Format response data","user":{"login":"Rick-Anderson","id":3605364,"node_id":"MDQ6VXNlcjM2MDUzNjQ=","avatar_url":"https://avatars1.githubusercontent.com/u/3605364?v=4","gravatar_id":"","url":"https://api.github.com/users/Rick-Anderson","html_url":"https://github.com/Rick-Anderson","followers_url":"https://api.github.com/users/Rick-Anderson/followers","following_url":"https://api.github.com/users/Rick-Anderson/following{/other_user}","gists_url":"https://api.github.com/users/Rick-Anderson/gists{/gist_id}","starred_url":"https://api.github.com/users/Rick-Anderson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Rick-Anderson/subscriptions","organizations_url":"https://api.github.com/users/Rick-Anderson/orgs","repos_url":"https://api.github.com/users/Rick-Anderson/repos","events_url":"https://api.github.com/users/Rick-Anderson/events{/privacy}","received_events_url":"https://api.github.com/users/Rick-Anderson/received_events","type":"User","site_admin":false},"body":"Fixes #11026, Fixes #11220, Fixes #10189, Fixes #9816\r\n[Internal review URL](https://review.docs.microsoft.com/en-us/aspnet/core/web-api/advanced/formatting?view=aspnetcore-2.2&branch=pr-en-us-12077)\r\n","created_at":"2019-04-20T02:19:15Z","updated_at":"2019-09-19T17:45:57Z","closed_at":null,"merged_at":null,"merge_commit_sha":"65255eb4b98abcf06ec949af9e2b966fc4af00fc","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/aspnet/AspNetCore.Docs/pulls/12077/commits","review_comments_url":"https://api.github.com/repos/aspnet/AspNetCore.Docs/pulls/12077/comments","review_comment_url":"https://api.github.com/repos/aspnet/AspNetCore.Docs/pulls/comments{/number}","comments_url":"https://api.github.com/repos/aspnet/AspNetCore.Docs/issues/12077/comments","statuses_url":"https://api.github.com/repos/aspnet/AspNetCore.Docs/statuses/b2369329895e6fdc4eb54c966adfeb403eb58580","head":{"label":"aspnet:format/data/ra","ref":"format/data/ra","sha":"b2369329895e6fdc4eb54c966adfeb403eb58580","user":{"login":"aspnet","id":6476660,"node_id":"MDEyOk9yZ2FuaXphdGlvbjY0NzY2NjA=","avatar_url":"https://avatars3.githubusercontent.com/u/6476660?v=4","gravatar_id":"","url":"https://api.github.com/users/aspnet","html_url":"https://github.com/aspnet","followers_url":"https://api.github.com/users/aspnet/followers","following_url":"https://api.github.com/users/aspnet/following{/other_user}","gists_url":"https://api.github.com/users/aspnet/gists{/gist_id}","starred_url":"https://api.github.com/users/aspnet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aspnet/subscriptions","organizations_url":"https://api.github.com/users/aspnet/orgs","repos_url":"https://api.github.com/users/aspnet/repos","events_url":"https://api.github.com/users/aspnet/events{/privacy}","received_events_url":"https://api.github.com/users/aspnet/received_events","type":"Organization","site_admin":false},"repo":{"id":28239455,"node_id":"MDEwOlJlcG9zaXRvcnkyODIzOTQ1NQ==","name":"AspNetCore.Docs","full_name":"aspnet/AspNetCore.Docs","private":false,"owner":{"login":"aspnet","id":6476660,"node_id":"MDEyOk9yZ2FuaXphdGlvbjY0NzY2NjA=","avatar_url":"https://avatars3.githubusercontent.com/u/6476660?v=4","gravatar_id":"","url":"https://api.github.com/users/aspnet","html_url":"https://github.com/aspnet","followers_url":"https://api.github.com/users/aspnet/followers","following_url":"https://api.github.com/users/aspnet/following{/other_user}","gists_url":"https://api.github.com/users/aspnet/gists{/gist_id}","starred_url":"https://api.github.com/users/aspnet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aspnet/subscriptions","organizations_url":"https://api.github.com/users/aspnet/orgs","repos_url":"https://api.github.com/users/aspnet/repos","events_url":"https://api.github.com/users/aspnet/events{/privacy}","received_events_url":"https://api.github.com/users/aspnet/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/aspnet/AspNetCore.Docs","description":"Documentation for ASP.NET Core","fork":false,"url":"https://api.github.com/repos/aspnet/AspNetCore.Docs","forks_url":"https://api.github.com/repos/aspnet/AspNetCore.Docs/forks","keys_url":"https://api.github.com/repos/aspnet/AspNetCore.Docs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/aspnet/AspNetCore.Docs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/aspnet/AspNetCore.Docs/teams","hooks_url":"https://api.github.com/repos/aspnet/AspNetCore.Docs/hooks","issue_events_url":"https://api.github.com/repos/aspnet/AspNetCore.Docs/issues/events{/number}","events_url":"https://api.github.com/repos/aspnet/AspNetCore.Docs/events","assignees_url":"https://api.github.com/repos/aspnet/AspNetCore.Docs/assignees{/user}","branches_url":"https://api.github.com/repos/aspnet/AspNetCore.Docs/branches{/branch}","tags_url":"https://api.github.com/repos/aspnet/AspNetCore.Docs/tags","blobs_url":"https://api.github.com/repos/aspnet/AspNetCore.Docs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/aspnet/AspNetCore.Docs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/aspnet/AspNetCore.Docs/git/refs{/sha}","trees_url":"https://api.github.com/repos/aspnet/AspNetCore.Docs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/aspnet/AspNetCore.Docs/statuses/{sha}","languages_url":"https://api.github.com/repos/aspnet/AspNetCore.Docs/languages","stargazers_url":"https://api.github.com/repos/aspnet/AspNetCore.Docs/stargazers","contributors_url":"https://api.github.com/repos/aspnet/AspNetCore.Docs/contributors","subscribers_url":"https://api.github.com/repos/aspnet/AspNetCore.Docs/subscribers","subscription_url":"https://api.github.com/repos/aspnet/AspNetCore.Docs/subscription","commits_url":"https://api.github.com/repos/aspnet/AspNetCore.Docs/commits{/sha}","git_commits_url":"https://api.github.com/repos/aspnet/AspNetCore.Docs/git/commits{/sha}","comments_url":"https://api.github.com/repos/aspnet/AspNetCore.Docs/comments{/number}","issue_comment_url":"https://api.github.com/repos/aspnet/AspNetCore.Docs/issues/comments{/number}","contents_url":"https://api.github.com/repos/aspnet/AspNetCore.Docs/contents/{+path}","compare_url":"https://api.github.com/repos/aspnet/AspNetCore.Docs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/aspnet/AspNetCore.Docs/merges","archive_url":"https://api.github.com/repos/aspnet/AspNetCore.Docs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/aspnet/AspNetCore.Docs/downloads","issues_url":"https://api.github.com/repos/aspnet/AspNetCore.Docs/issues{/number}","pulls_url":"https://api.github.com/repos/aspnet/AspNetCore.Docs/pulls{/number}","milestones_url":"https://api.github.com/repos/aspnet/AspNetCore.Docs/milestones{/number}","notifications_url":"https://api.github.com/repos/aspnet/AspNetCore.Docs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/aspnet/AspNetCore.Docs/labels{/name}","releases_url":"https://api.github.com/repos/aspnet/AspNetCore.Docs/releases{/id}","deployments_url":"https://api.github.com/repos/aspnet/AspNetCore.Docs/deployments","created_at":"2014-12-19T17:38:02Z","updated_at":"2019-09-19T15:56:10Z","pushed_at":"2019-09-19T17:19:21Z","git_url":"git://github.com/aspnet/AspNetCore.Docs.git","ssh_url":"git@github.com:aspnet/AspNetCore.Docs.git","clone_url":"https://github.com/aspnet/AspNetCore.Docs.git","svn_url":"https://github.com/aspnet/AspNetCore.Docs","homepage":"https://docs.microsoft.com/aspnet","size":713924,"stargazers_count":5840,"watchers_count":5840,"language":"C#","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":14680,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":584,"license":{"key":"other","name":"Other","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":14680,"open_issues":584,"watchers":5840,"default_branch":"master"}},"base":{"label":"aspnet:master","ref":"master","sha":"f338b935a962b36cf3209fae0bff3f652bfaab20","user":{"login":"aspnet","id":6476660,"node_id":"MDEyOk9yZ2FuaXphdGlvbjY0NzY2NjA=","avatar_url":"https://avatars3.githubusercontent.com/u/6476660?v=4","gravatar_id":"","url":"https://api.github.com/users/aspnet","html_url":"https://github.com/aspnet","followers_url":"https://api.github.com/users/aspnet/followers","following_url":"https://api.github.com/users/aspnet/following{/other_user}","gists_url":"https://api.github.com/users/aspnet/gists{/gist_id}","starred_url":"https://api.github.com/users/aspnet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aspnet/subscriptions","organizations_url":"https://api.github.com/users/aspnet/orgs","repos_url":"https://api.github.com/users/aspnet/repos","events_url":"https://api.github.com/users/aspnet/events{/privacy}","received_events_url":"https://api.github.com/users/aspnet/received_events","type":"Organization","site_admin":false},"repo":{"id":28239455,"node_id":"MDEwOlJlcG9zaXRvcnkyODIzOTQ1NQ==","name":"AspNetCore.Docs","full_name":"aspnet/AspNetCore.Docs","private":false,"owner":{"login":"aspnet","id":6476660,"node_id":"MDEyOk9yZ2FuaXphdGlvbjY0NzY2NjA=","avatar_url":"https://avatars3.githubusercontent.com/u/6476660?v=4","gravatar_id":"","url":"https://api.github.com/users/aspnet","html_url":"https://github.com/aspnet","followers_url":"https://api.github.com/users/aspnet/followers","following_url":"https://api.github.com/users/aspnet/following{/other_user}","gists_url":"https://api.github.com/users/aspnet/gists{/gist_id}","starred_url":"https://api.github.com/users/aspnet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aspnet/subscriptions","organizations_url":"https://api.github.com/users/aspnet/orgs","repos_url":"https://api.github.com/users/aspnet/repos","events_url":"https://api.github.com/users/aspnet/events{/privacy}","received_events_url":"https://api.github.com/users/aspnet/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/aspnet/AspNetCore.Docs","description":"Documentation for ASP.NET Core","fork":false,"url":"https://api.github.com/repos/aspnet/AspNetCore.Docs","forks_url":"https://api.github.com/repos/aspnet/AspNetCore.Docs/forks","keys_url":"https://api.github.com/repos/aspnet/AspNetCore.Docs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/aspnet/AspNetCore.Docs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/aspnet/AspNetCore.Docs/teams","hooks_url":"https://api.github.com/repos/aspnet/AspNetCore.Docs/hooks","issue_events_url":"https://api.github.com/repos/aspnet/AspNetCore.Docs/issues/events{/number}","events_url":"https://api.github.com/repos/aspnet/AspNetCore.Docs/events","assignees_url":"https://api.github.com/repos/aspnet/AspNetCore.Docs/assignees{/user}","branches_url":"https://api.github.com/repos/aspnet/AspNetCore.Docs/branches{/branch}","tags_url":"https://api.github.com/repos/aspnet/AspNetCore.Docs/tags","blobs_url":"https://api.github.com/repos/aspnet/AspNetCore.Docs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/aspnet/AspNetCore.Docs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/aspnet/AspNetCore.Docs/git/refs{/sha}","trees_url":"https://api.github.com/repos/aspnet/AspNetCore.Docs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/aspnet/AspNetCore.Docs/statuses/{sha}","languages_url":"https://api.github.com/repos/aspnet/AspNetCore.Docs/languages","stargazers_url":"https://api.github.com/repos/aspnet/AspNetCore.Docs/stargazers","contributors_url":"https://api.github.com/repos/aspnet/AspNetCore.Docs/contributors","subscribers_url":"https://api.github.com/repos/aspnet/AspNetCore.Docs/subscribers","subscription_url":"https://api.github.com/repos/aspnet/AspNetCore.Docs/subscription","commits_url":"https://api.github.com/repos/aspnet/AspNetCore.Docs/commits{/sha}","git_commits_url":"https://api.github.com/repos/aspnet/AspNetCore.Docs/git/commits{/sha}","comments_url":"https://api.github.com/repos/aspnet/AspNetCore.Docs/comments{/number}","issue_comment_url":"https://api.github.com/repos/aspnet/AspNetCore.Docs/issues/comments{/number}","contents_url":"https://api.github.com/repos/aspnet/AspNetCore.Docs/contents/{+path}","compare_url":"https://api.github.com/repos/aspnet/AspNetCore.Docs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/aspnet/AspNetCore.Docs/merges","archive_url":"https://api.github.com/repos/aspnet/AspNetCore.Docs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/aspnet/AspNetCore.Docs/downloads","issues_url":"https://api.github.com/repos/aspnet/AspNetCore.Docs/issues{/number}","pulls_url":"https://api.github.com/repos/aspnet/AspNetCore.Docs/pulls{/number}","milestones_url":"https://api.github.com/repos/aspnet/AspNetCore.Docs/milestones{/number}","notifications_url":"https://api.github.com/repos/aspnet/AspNetCore.Docs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/aspnet/AspNetCore.Docs/labels{/name}","releases_url":"https://api.github.com/repos/aspnet/AspNetCore.Docs/releases{/id}","deployments_url":"https://api.github.com/repos/aspnet/AspNetCore.Docs/deployments","created_at":"2014-12-19T17:38:02Z","updated_at":"2019-09-19T15:56:10Z","pushed_at":"2019-09-19T17:19:21Z","git_url":"git://github.com/aspnet/AspNetCore.Docs.git","ssh_url":"git@github.com:aspnet/AspNetCore.Docs.git","clone_url":"https://github.com/aspnet/AspNetCore.Docs.git","svn_url":"https://github.com/aspnet/AspNetCore.Docs","homepage":"https://docs.microsoft.com/aspnet","size":713924,"stargazers_count":5840,"watchers_count":5840,"language":"C#","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":14680,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":584,"license":{"key":"other","name":"Other","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":14680,"open_issues":584,"watchers":5840,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/aspnet/AspNetCore.Docs/pulls/12077"},"html":{"href":"https://github.com/aspnet/AspNetCore.Docs/pull/12077"},"issue":{"href":"https://api.github.com/repos/aspnet/AspNetCore.Docs/issues/12077"},"comments":{"href":"https://api.github.com/repos/aspnet/AspNetCore.Docs/issues/12077/comments"},"review_comments":{"href":"https://api.github.com/repos/aspnet/AspNetCore.Docs/pulls/12077/comments"},"review_comment":{"href":"https://api.github.com/repos/aspnet/AspNetCore.Docs/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/aspnet/AspNetCore.Docs/pulls/12077/commits"},"statuses":{"href":"https://api.github.com/repos/aspnet/AspNetCore.Docs/statuses/b2369329895e6fdc4eb54c966adfeb403eb58580"}},"author_association":"CONTRIBUTOR"}}
other: {"actor":{"display_login":"pranavkm"}}