{"id":21358,"date":"2019-02-06T09:00:45","date_gmt":"2019-02-06T17:00:45","guid":{"rendered":"https:\/\/blogs.msdn.microsoft.com\/webdev\/?p=16095"},"modified":"2019-02-06T09:00:45","modified_gmt":"2019-02-06T17:00:45","slug":"changes-to-the-web-and-json-editor-apis-in-visual-studio-2019","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/dotnet\/changes-to-the-web-and-json-editor-apis-in-visual-studio-2019\/","title":{"rendered":"Changes to the web and JSON editor APIs in Visual Studio 2019"},"content":{"rendered":"<p>In <a href=\"https:\/\/visualstudio.microsoft.com\/vs\/preview\/\">Visual Studio 2019 Preview 2<\/a>, The Web Tools team made some changes to improve extensibility features for extension developers. To standardize interfaces, the CSS, HTML, JSON and CSHTML editors renamed their assemblies as per the following table:<\/p>\n<table border=\"1\" cellpadding=\"5\">\n<tbody>\n<tr>\n<td width=\"312\">\n        <strong>Old<\/strong>\n      <\/td>\n<td width=\"312\">\n        <strong>New<\/strong>\n      <\/td>\n<\/tr>\n<tr>\n<td width=\"312\">\n        Microsoft.CSS.Core\n      <\/td>\n<td width=\"312\">\n        Microsoft.WebTools.Languages.Css\n      <\/td>\n<\/tr>\n<tr>\n<td width=\"312\">\n        Microsoft.CSS.Editor\n      <\/td>\n<td width=\"312\">\n        Microsoft.WebTools.Languages.Css.Editor\n      <\/td>\n<\/tr>\n<tr>\n<td width=\"312\">\n        Microsoft.Html.Core\n      <\/td>\n<td width=\"312\">\n        Microsoft.WebTools.Languages.Html\n      <\/td>\n<\/tr>\n<tr>\n<td width=\"312\">\n        Microsoft.Html.Editor\n      <\/td>\n<td width=\"312\">\n        Microsoft.WebTools.Languages.Html.Editor\n      <\/td>\n<\/tr>\n<tr>\n<td width=\"312\">\n        Microsoft.VisualStudio.Html.Package\n      <\/td>\n<td width=\"312\">\n        Microsoft.WebTools.Languages.Html.VS\n      <\/td>\n<\/tr>\n<tr>\n<td width=\"312\">\n        Microsoft.JSON.Core\n      <\/td>\n<td width=\"312\">\n        Microsoft.WebTools.Languages.Json\n      <\/td>\n<\/tr>\n<tr>\n<td width=\"312\">\n        Microsoft.JSON.Editor\n      <\/td>\n<td width=\"312\">\n        Microsoft.WebTools.Languages.Json.Editor\n      <\/td>\n<\/tr>\n<tr>\n<td width=\"312\">\n        Microsoft.VisualStudio.JSON.Package\n      <\/td>\n<td width=\"312\">\n        Microsoft.WebTools.Languages.Json.VS\n      <\/td>\n<\/tr>\n<tr>\n<td width=\"312\">\n        Microsoft.VisualStudio.Web.Extensions\n      <\/td>\n<td width=\"312\">\n        Microsoft.WebTools.Languages.Extensions\n      <\/td>\n<\/tr>\n<tr>\n<td width=\"312\">\n        Microsoft.Web.Core\n      <\/td>\n<td width=\"312\">\n        Microsoft.WebTools.Languages.Shared\n      <\/td>\n<\/tr>\n<tr>\n<td width=\"312\">\n        Microsoft.Web.Editor\n      <\/td>\n<td width=\"312\">\n        Microsoft.WebTools.Languages.Shared.Editor\n      <\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>To avoid potential parse issues, the JSON parse tree changed behavior. When you call JsonParserService.GetTreeAsync, you now get a snapshot of the JSON parse tree. As an extension developer, you can now request and maintain snapshots of the JSON parse tree.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In <a href=\"https:\/\/visualstudio.microsoft.com\/vs\/preview\/\">Visual Studio 2019 Preview 2<\/a>, The Web Tools team made some changes to improve extensibility features for extension developers. To standardize interfaces, the CSS, HTML, JSON and CSHTML editors renamed their assemblies &#8211; table details inside!<\/p>\n","protected":false},"author":404,"featured_media":21385,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[197,646],"tags":[147],"class_list":["post-21358","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-aspnet","category-visual-studio","tag-visual-studio"],"acf":[],"blog_post_summary":"<p>In <a href=\"https:\/\/visualstudio.microsoft.com\/vs\/preview\/\">Visual Studio 2019 Preview 2<\/a>, The Web Tools team made some changes to improve extensibility features for extension developers. To standardize interfaces, the CSS, HTML, JSON and CSHTML editors renamed their assemblies &#8211; table details inside!<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/posts\/21358","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/users\/404"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/comments?post=21358"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/posts\/21358\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/media\/21385"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/media?parent=21358"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/categories?post=21358"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/tags?post=21358"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}