{"id":254042,"date":"2015-03-30T02:02:02","date_gmt":"2015-03-29T22:02:02","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=254042"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=254042","title":{"rendered":"SQLite \u0438 Windows 10 (Universal App Platform) \u2014 \u0432\u043c\u0435\u0441\u0442\u0435 \u0432\u0435\u0441\u0435\u043b\u0435\u0439"},"content":{"rendered":"<p>     \t\u0417\u0434\u0440\u0430\u0432\u0441\u0442\u0432\u0443\u0439, \u0443\u0432\u0430\u0436\u0430\u0435\u043c\u044b\u0439 All!<\/p>\n<p>  \u0425\u043e\u0447\u0443 \u0440\u0430\u0441\u0441\u043a\u0430\u0437\u0430\u0442\u044c \u043e \u043d\u0435\u0431\u043e\u043b\u044c\u0448\u043e\u0439 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0435 \u0434\u043b\u044f \u0440\u0430\u0431\u043e\u0442\u044b \u0441 SQLite \u0432 Windows Phone 8.0 Silverlight, Windows Phone 8.1, Windows 8.1 \u0430 \u0441\u0435\u0439\u0447\u0430\u0441 \u0435\u0449\u0435 \u0438 \u0434\u043b\u044f Windows 10 UAP. \u0411\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0435 \u0443\u0436\u0435 \u0431\u043e\u043b\u044c\u0448\u0435 \u0433\u043e\u0434\u0430 \u0438 \u0442.\u043a. \u043f\u0440\u043e\u0431\u043b\u0435\u043c \u0441 \u043d\u0435\u0439 \u0437\u0430 \u0432\u0441\u0435 \u0432\u0440\u0435\u043c\u044f \u043d\u0435 \u0432\u043e\u0437\u043d\u0438\u043a\u043b\u043e, \u0442\u043e, \u044f \u0441\u0447\u0438\u0442\u0430\u044e, \u043e \u043d\u0435\u0439 \u043c\u043e\u0436\u043d\u043e \u0440\u0430\u0441\u0441\u043a\u0430\u0437\u0430\u0442\u044c \u0434\u0440\u0443\u0433\u0438\u043c.<\/p>\n<p>  \u0411\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0430 \u043d\u0430\u0437\u044b\u0432\u0430\u0435\u0442\u0441\u044f <b>SQLite.WinRT<\/b>.<br \/>  <a name=\"habracut\"><\/a><br \/>  \u042f \u043d\u0435 \u044f\u0432\u043b\u044f\u044e\u0441\u044c \u0435\u0435 100% \u0430\u0432\u0442\u043e\u0440\u043e\u043c. \u042f \u043b\u0438\u0448\u044c \u0441\u043e\u0431\u0440\u0430\u043b \u043c\u043d\u043e\u0433\u0438\u0435 \u043a\u0443\u0441\u043a\u0438 \u043a\u043e\u0434\u0430, \u0431\u043b\u0443\u0436\u0434\u0430\u044e\u0449\u0438\u0435 \u043f\u043e \u0438\u043d\u0442\u0435\u0440\u043d\u0435\u0442\u0443, \u0432\u043e\u0435\u0434\u0438\u043d\u043e. \u041f\u043e\u044d\u0442\u043e\u043c\u0443 \u0435\u0441\u043b\u0438 \u0432\u044b \u0441\u0447\u0438\u0442\u0430\u0435\u0442\u0435 \u0447\u0442\u043e \u044f \u043a\u0430\u043a-\u0442\u043e \u043d\u0430\u0440\u0443\u0448\u0438\u043b \u0432\u0430\u0448\u0438 \u0430\u0432\u0442\u043e\u0440\u0441\u043a\u0438\u0435 \u043f\u0440\u0430\u0432\u0430, \u0442\u043e \u0434\u0430\u0439\u0442\u0435 \u043c\u043d\u0435 \u0437\u043d\u0430\u0442\u044c \u2014 \u0434\u043e\u0433\u043e\u0432\u043e\u0440\u0438\u043c\u0441\u044f.<\/p>\n<p>  \u0418\u0441\u0445\u043e\u0434\u043d\u044b\u0435 \u043a\u043e\u0434\u044b \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c <a href=\"http:\/\/sqliteportable.codeplex.com\">\u0437\u0434\u0435\u0441\u044c<\/a>.<br \/>  \u0423\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0443 \u043c\u043e\u0436\u043d\u043e \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e NuGet. \u0415\u0441\u0442\u044c 5 \u043f\u0430\u043a\u0435\u0442\u043e\u0432:  <\/p>\n<ul>\n<li><a href=\"https:\/\/www.nuget.org\/packages\/SQLite.WinRT\/\">SQLite Library Core<\/a><\/li>\n<li><a href=\"https:\/\/www.nuget.org\/packages\/SQLite.WinRT.UAP\/\">SQLite Library for Windows UAP<\/a><\/li>\n<li><a href=\"https:\/\/www.nuget.org\/packages\/SQLite.WinRT.wp8\/\">SQLite Library for Windows Phone 8.0<\/a><\/li>\n<li><a href=\"https:\/\/www.nuget.org\/packages\/SQLite.WinRT.wpa81\/\">SQLite Library for Windows Phone 8.1<\/a><\/li>\n<li><a href=\"https:\/\/www.nuget.org\/packages\/SQLite.WinRT.win81\/\">SQLite Library for Windows 8.1<\/a><\/li>\n<\/ul>\n<p>  \u0414\u043b\u044f \u0443\u0441\u043f\u0435\u0448\u043d\u043e\u0439 \u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0446\u0438\u0438 \u043f\u0440\u0438\u0434\u0435\u0442\u0441\u044f \u0438\u0437\u0431\u0430\u0432\u0438\u0442\u044c\u0441\u044f \u043e\u0442 Any CPU \u0438 \u0441\u043e\u0431\u0438\u0440\u0430\u0442\u044c \u043f\u0440\u043e\u0435\u043a\u0442 \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u043e \u043f\u043e\u0434 \u043a\u0430\u0436\u0434\u0443\u044e \u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u0443: x86, x64, ARM.<\/p>\n<p>  \u0414\u043b\u044f Windows 10 UAP \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0441\u0441\u044b\u043b\u043a\u0443 \u043d\u0430 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0435 SDK:  <\/p>\n<ul>\n<li>Microsoft Visual C++ 14 AppLocal Runtime Package for Windows UAP<\/li>\n<\/ul>\n<p>  \u0414\u043b\u044f Windows 8.1 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0441\u0441\u044b\u043b\u043a\u0443 \u043d\u0430 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0435 SDK:  <\/p>\n<ul>\n<li>Microsoft Visual C++ 2013 Runtime Package for Windows<\/li>\n<li>SQLite for Windows Runtime (Windows 8.1)<\/li>\n<\/ul>\n<p>  \u0414\u043b\u044f Windows Phone 8.1 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0441\u0441\u044b\u043b\u043a\u0443 \u043d\u0430 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0435 SDK:  <\/p>\n<ul>\n<li>Microsoft Visual C++ 2013 Runtime Package for Windows Phone<\/li>\n<li>SQLite for Windows Phone 8.1<\/li>\n<\/ul>\n<p>  \u0414\u043b\u044f Windows Phone 8.0 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0441\u0441\u044b\u043b\u043a\u0443 \u043d\u0430 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0435 SDK:  <\/p>\n<ul>\n<li>SQLite for Windows Phone<\/li>\n<\/ul>\n<p>  <b>\u041a\u0430\u043a \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0443?<\/b><br \/>  \u0414\u043b\u044f \u043f\u0440\u0438\u043c\u0435\u0440\u0430 \u043d\u0430\u043c \u043f\u043e\u043d\u0430\u0434\u043e\u0431\u044f\u0442\u0441\u044f \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0435 \u043a\u043b\u0430\u0441\u0441\u044b:  <\/p>\n<pre><code>    public sealed class DatabaseContext : BaseDatabaseContext     {         private DatabaseContext(SQLiteConnection connection): base(connection)         {         }          public async static Task&lt;DatabaseContext&gt; CreateContext()         {             const string dbName = &quot;db.sqlite&quot;;              var folder = CorePlatform.Current.LocalFolder;             var connectionString = new SQLiteConnectionString(Path.Combine(folder, dbName), true);             var connection = SQLiteConnectionPool.Shared.GetConnection(connectionString);              var ctx = new DatabaseContext(connection);             await ctx.CreateSchemeAsync();             await ctx.UpdateSchemeAsync();              return ctx;         }          public IEntityTable&lt;Item&gt; Items { get { return provider.GetTable&lt;Item&gt;(); } }         public IEntityTable&lt;Category&gt; Categories { get { return provider.GetTable&lt;Category&gt;(); } }      }      [Table(&quot;Items&quot;)]     public class Item     {         [PrimaryKey, AutoIncrement]         public int ItemID { get; set; }         public int CategoryID { get; set; }         public string Title { get; set; }     }      [Table(&quot;Categories&quot;)]     public class Category     {         [PrimaryKey, AutoIncrement]         public int CategoryID { get; set; }         public string Name { get; set; }     }  <\/code><\/pre>\n<p>  <b>\u0414\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u0437\u0430\u043f\u0438\u0441\u0438<\/b>  <\/p>\n<pre><code>var category = new Category(); category.Name = &quot;category&quot;; await db.Categories.InsertAsync(category); <\/code><\/pre>\n<p>  <b>\u041e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u0435 \u0437\u0430\u043f\u0438\u0441\u0438<\/b>  <\/p>\n<pre><code>category.Name = &quot;category2&quot;; await db.Categories.UpdateAsync(category); <\/code><\/pre>\n<p>  \u041e\u0431\u043d\u043e\u0432\u043b\u044f\u044e\u0442\u0441\u044f \u0432\u0441\u0435 \u043f\u043e\u043b\u044f, \u043a\u0440\u043e\u043c\u0435 \u043e\u0441\u043d\u043e\u0432\u043d\u043e\u0433\u043e \u043a\u043b\u044e\u0447\u0430.<br \/>  \u0415\u0441\u043b\u0438 \u043e\u0447\u0435\u043d\u044c \u043d\u0430\u0434\u043e, \u0442\u043e \u043c\u043e\u0436\u043d\u043e \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0432\u043e\u0442 \u0442\u0430\u043a:  <\/p>\n<pre><code>var count = db.Categories   .Update()   .Set(t =&gt; t.Name).EqualTo(&quot;test name&quot;)   .Where(t =&gt; t.CategoryID).IsBetweenAnd(3, 4)   .Execute(); <\/code><\/pre>\n<p>  \u0412 \u044d\u0442\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u0431\u0443\u0434\u0435\u0442 \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u043e \u0442\u043e\u043b\u044c\u043a\u043e \u0442\u043e, \u0447\u0442\u043e \u0431\u0443\u0434\u0435\u0442 \u0443\u043a\u0430\u0437\u0430\u043d\u043e.<br \/>  <b>\u0423\u0434\u0430\u043b\u0435\u043d\u0438\u0435 \u0437\u0430\u043f\u0438\u0441\u0438<\/b>  <\/p>\n<pre><code>var count = db.Items.Delete()   .Where(t =&gt; t.CategoryID).IsLessThanOrEqualTo(3)   .And(t =&gt; t.Title).IsEqualTo(&quot;item0&quot;)   .Execute(); <\/code><\/pre>\n<p>  \u0438\u043b\u0438 \u0442\u0430\u043a:  <\/p>\n<pre><code>var category = ...; await db.Categories.DeleteAsync(category); <\/code><\/pre>\n<p>  <b>\u0412\u044b\u0431\u043e\u0440\u043a\u0430 \u0434\u0430\u043d\u043d\u044b\u0445<\/b><br \/>  \u0410 \u0437\u0434\u0435\u0441\u044c \u043d\u0430\u043c \u043f\u043e\u043c\u043e\u0436\u0435\u0442 LINQ:  <\/p>\n<pre><code>var query =   from c in db.Categories   join i in db.Items on c.CategoryID equals i.CategoryID   select i;  var items = await query.ToListAsync(); <\/code><\/pre>\n<p>  <b>\u041c\u0438\u0433\u0440\u0430\u0446\u0438\u044f \u0434\u0430\u043d\u043d\u044b\u0445<\/b><br \/>  \u0412\u043d\u0438\u043c\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u0439 \u0447\u0438\u0442\u0430\u0442\u0435\u043b\u044c \u0437\u0430\u043c\u0435\u0442\u0438\u043b 2 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u044b\u0445 \u0432\u044b\u0437\u043e\u0432\u0430:  <\/p>\n<pre><code>await ctx.CreateSchemeAsync(); await ctx.UpdateSchemeAsync(); <\/code><\/pre>\n<p>  \u041f\u0435\u0440\u0432\u044b\u0439 \u0441\u043e\u0437\u0434\u0430\u0435\u0442 \u0438\u043b\u0438 \u043e\u0431\u043d\u043e\u0432\u043b\u044f\u0435\u0442 \u0442\u0430\u0431\u043b\u0438\u0446\u044b \u043d\u0430 \u043e\u0441\u043d\u043e\u0432\u0435 \u043e\u0431\u044a\u044f\u0432\u043b\u0435\u043d\u043d\u044b\u0445 \u0441\u0432\u043e\u0439\u0441\u0442\u0432 \u043a\u043e\u043d\u0442\u0435\u043a\u0441\u0442\u0430. \u041a\u043e\u043b\u043e\u043d\u043a\u0438 \u0432 \u0442\u0430\u0431\u043b\u0438\u0446\u0435 \u043c\u043e\u0433\u0443\u0442 \u0431\u044b\u0442\u044c \u0442\u043e\u043b\u044c\u043a\u043e \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u044b. \u0423\u0434\u0430\u043b\u0438\u0442\u044c \u043d\u0435\u043b\u044c\u0437\u044f.<br \/>  \u0412\u0442\u043e\u0440\u043e\u0439 \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u0442 \u0441\u043f\u0438\u0441\u043e\u043a \u043c\u0438\u0433\u0440\u0430\u0446\u0438\u0439, \u0432\u0435\u0440\u0441\u0438\u044f \u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u043c\u0435\u043d\u044c\u0448\u0435 \u0432\u0435\u0440\u0441\u0438\u0438 \u0431\u0430\u0437\u044b \u0434\u0430\u043d\u043d\u044b\u0445.<br \/>  \u041e\u0431\u044a\u044f\u0432\u043b\u044f\u044e\u0442\u0441\u044f \u043c\u0438\u0433\u0440\u0430\u0446\u0438\u0438 \u0432\u043e\u0442 \u0442\u0430\u043a:  <\/p>\n<pre><code>    [DatabaseUpdate(typeof(DbChangeset1))]     [DatabaseUpdate(typeof(DbChangeset2))]     [DatabaseUpdate(typeof(DbChangeset3))]     [DatabaseUpdate(typeof(DbChangeset4))]     public sealed class DatabaseContext : BaseDatabaseContext { ... } <\/code><\/pre>\n<p>  \u041f\u0440\u0438\u043c\u0435\u0440 \u043c\u0438\u0433\u0440\u0430\u0446\u0438\u0438:  <\/p>\n<pre><code>    public class DbChangeset1 : IDatabaseChangeset     {         public int Version { get { return 1; } }          public void Update(IEntityProvider provider)         {            \/\/ \u0442\u0430\u043a \u043a\u0430\u043a \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0430 \u043e\u0431\u043d\u043e\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0441\u0430\u043c\u0430, \u0442\u043e \u0442\u0443\u0442 \u043e\u0431\u043d\u043e\u0432\u043b\u044f\u0435\u043c \u0442\u043e\u043b\u044c\u043a\u043e \u0434\u0430\u043d\u043d\u044b\u0435.         }     } <\/code><\/pre>\n<p>  \u0412\u043e\u0442 \u043a\u0430\u043a-\u0442\u043e \u0442\u0430\u043a. \u0411\u043e\u043b\u0435\u0435 \u043f\u043e\u0434\u0440\u043e\u0431\u043d\u0443\u044e \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044e \u043c\u043e\u0436\u043d\u043e \u043d\u0430\u0439\u0442\u0438 \u0432 \u044e\u043d\u0438\u0442-\u0442\u0435\u0441\u0442\u0430\u0445.<\/p>\n<p>  \u0410 \u0442\u0435\u043f\u0435\u0440\u044c \u044f \u0433\u043e\u0442\u043e\u0432 \u0432\u044b\u0441\u043b\u0443\u0448\u0430\u0442\u044c \u0432\u0430\u0448\u0438 \u0437\u0430\u043c\u0435\u0447\u0430\u043d\u0438\u044f, \u043f\u0440\u0435\u0434\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u0438 \u0432\u043e\u0437\u0440\u0430\u0436\u0435\u043d\u0438\u044f.     \t<\/p>\n<div class=\"clear\"><\/div>\n<p> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"http:\/\/habrahabr.ru\/post\/254313\/\"> http:\/\/habrahabr.ru\/post\/254313\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>     \t\u0417\u0434\u0440\u0430\u0432\u0441\u0442\u0432\u0443\u0439, \u0443\u0432\u0430\u0436\u0430\u0435\u043c\u044b\u0439 All!<\/p>\n<p>  \u0425\u043e\u0447\u0443 \u0440\u0430\u0441\u0441\u043a\u0430\u0437\u0430\u0442\u044c \u043e \u043d\u0435\u0431\u043e\u043b\u044c\u0448\u043e\u0439 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0435 \u0434\u043b\u044f \u0440\u0430\u0431\u043e\u0442\u044b \u0441 SQLite \u0432 Windows Phone 8.0 Silverlight, Windows Phone 8.1, Windows 8.1 \u0430 \u0441\u0435\u0439\u0447\u0430\u0441 \u0435\u0449\u0435 \u0438 \u0434\u043b\u044f Windows 10 UAP. \u0411\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0435 \u0443\u0436\u0435 \u0431\u043e\u043b\u044c\u0448\u0435 \u0433\u043e\u0434\u0430 \u0438 \u0442.\u043a. \u043f\u0440\u043e\u0431\u043b\u0435\u043c \u0441 \u043d\u0435\u0439 \u0437\u0430 \u0432\u0441\u0435 \u0432\u0440\u0435\u043c\u044f \u043d\u0435 \u0432\u043e\u0437\u043d\u0438\u043a\u043b\u043e, \u0442\u043e, \u044f \u0441\u0447\u0438\u0442\u0430\u044e, \u043e \u043d\u0435\u0439 \u043c\u043e\u0436\u043d\u043e \u0440\u0430\u0441\u0441\u043a\u0430\u0437\u0430\u0442\u044c \u0434\u0440\u0443\u0433\u0438\u043c.<\/p>\n<p>  \u0411\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0430 \u043d\u0430\u0437\u044b\u0432\u0430\u0435\u0442\u0441\u044f <b>SQLite.WinRT<\/b>.  <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-254042","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/254042","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=254042"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/254042\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=254042"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=254042"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=254042"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}