{"id":206014,"date":"2013-12-14T14:31:02","date_gmt":"2013-12-14T10:31:02","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=206014"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=206014","title":{"rendered":"<span class=\"post_title\">JSON Template: \u043c\u043e\u0436\u043d\u043e \u043f\u0440\u043e\u0441\u0442\u043e JSONT<\/span>"},"content":{"rendered":"<div class=\"content html_format\"> \t\t\t\u0412\u043e-\u043f\u0435\u0440\u0432\u044b\u0445, JSON Template \u044d\u0442\u043e \u043d\u0435 JSON.<br \/>  \u0412\u043e-\u0432\u0442\u043e\u0440\u044b\u0445, \u0435\u0441\u043b\u0438 \u0443 \u0412\u0430\u0441 \u043d\u0435\u0442 \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u043e \u0442\u043e\u043c \u0447\u0435\u043c \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f JSON \u0438\u043b\u0438 \u043a\u0430\u043a \u043e\u043d \u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442, \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u043b\u0443\u0447\u0448\u0435 <a href=\"http:\/\/habrahabr.ru\/post\/31225\/\">\u0437\u0434\u0435\u0441\u044c<\/a>.<\/p>\n<p>  <img decoding=\"async\" src=\"http:\/\/habr.habrastorage.org\/post_images\/ec0\/a56\/c9f\/ec0a56c9fec726b41e65fc33b6ce60ef.jpg\"\/><\/p>\n<h4>\u0421\u0435\u043a\u0446\u0438\u0438 \u0438 \u041f\u043e\u0432\u0442\u043e\u0440\u044f\u044e\u0449\u0438\u0435\u0441\u044f \u0441\u0435\u043a\u0446\u0438\u0438<\/h4>\n<p>  \u0421\u0435\u043a\u0446\u0438\u0438 \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u044e\u0442 \u0431\u043e\u043b\u044c\u0448\u0443\u044e \u0447\u0430\u0441\u0442\u044c \u0440\u0430\u0431\u043e\u0442\u044b \u0432 JSON Template. \u0415\u0441\u0442\u044c \u0432\u0441\u0435\u0433\u043e \u0434\u0432\u0435 \u0432\u0430\u0436\u043d\u044b\u0435 \u0438\u0434\u0435\u0438, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043c\u044b \u0434\u043e\u043b\u0436\u043d\u044b \u0437\u043d\u0430\u0442\u044c \u043e \u0441\u0435\u043a\u0446\u0438\u044f\u0445:<\/p>\n<ol>\n<li>\u0421\u043e\u0434\u0435\u0440\u0436\u0438\u043c\u043e\u0435 \u0441\u0435\u043a\u0446\u0438\u0438 \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0430\u0435\u0442\u0441\u044f \u0442\u043e\u043b\u044c\u043a\u043e \u0435\u0441\u043b\u0438 \u0441\u0435\u043a\u0446\u0438\u044f \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u0435\u0442.<\/li>\n<li>\u0421\u0435\u043a\u0446\u0438\u044f \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u044f\u0435\u0442 \u043e\u0431\u043b\u0430\u0441\u0442\u044c \u0432\u0438\u0434\u0438\u043c\u043e\u0441\u0442\u0438, \u044f\u0432\u043b\u044f\u044f\u0441\u044c \u043a\u043e\u0440\u043d\u0435\u0432\u044b\u043c \u0440\u0430\u0437\u0434\u0435\u043b\u043e\u043c \u0434\u043b\u044f \u043b\u044e\u0431\u044b\u0445, \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u043d\u044b\u0445 \u0432 \u043d\u0435\u0435, \u0434\u0430\u043d\u043d\u044b\u0445.<\/li>\n<\/ol>\n<p>  <a name=\"habracut\"><\/a>  <\/p>\n<h5>C\u0435\u043a\u0446\u0438\u044f<\/h5>\n<p>  <\/p>\n<pre><code>{.section item} If this section exists, display this {.end}<\/code><\/pre>\n<p>  <\/p>\n<h5>\u041f\u043e\u0432\u0442\u043e\u0440\u044f\u044e\u0449\u0430\u044f\u0441\u044f \u0441\u0435\u043a\u0446\u0438\u044f<\/h5>\n<p>  <\/p>\n<pre><code>{.repeated section items}   If there are any items, repeat this info for each item {.end}<\/code><\/pre>\n<p>  <\/p>\n<h5>\u0421\u0435\u043a\u0446\u0438\u044f \u0441 \u0430\u043b\u044c\u0442\u0435\u0440\u043d\u0430\u0442\u0438\u0432\u043e\u0439<\/h5>\n<p>  <\/p>\n<pre><code>{.repeated section items}   This stuff shows for each item. {.alternates with}   ------ *show this dashed line in between each item* {.end}<\/code><\/pre>\n<p>  <\/p>\n<h5>\u0418\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u044f or<\/h5>\n<p>  \u041c\u043e\u0436\u0435\u0442 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c\u0441\u044f \u0432 \u0441\u0435\u043a\u0446\u0438\u044f\u0445 \u0438 \u043f\u043e\u0432\u0442\u043e\u0440\u044f\u044e\u0449\u0438\u0445\u0441\u044f \u0441\u0435\u043a\u0446\u0438\u044f\u0445. \u041f\u0440\u0438\u043c\u0435\u043d\u044f\u0435\u0442\u0441\u044f \u0434\u043b\u044f \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u044f \u043d\u0435\u0434\u043e\u043f\u0443\u0441\u0442\u0438\u043c\u043e\u0433\u043e \u0441\u043e\u0441\u0442\u043e\u044f\u043d\u0438\u044f, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440 \u0435\u0441\u043b\u0438 \u0440\u0430\u0437\u0434\u0435\u043b \u043d\u0435 \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u0435\u0442:<\/p>\n<pre><code>{.section item}   Item exists! {.or}   Item does not exist :( {.end}<\/code><\/pre>\n<p>  <\/p>\n<hr\/>\n<h4>\u0422\u0435\u0433\u0438<\/h4>\n<p>  \u0422\u0435\u0433\u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u0434\u043b\u044f \u0432\u043d\u0435\u0434\u0440\u0435\u043d\u0438\u044f \u0434\u0430\u043d\u043d\u044b\u0445 \u0438\u0437 JSON \u0432 \u043d\u0430\u0448 \u0444\u0430\u0439\u043b.<\/p>\n<pre><code>{title}<\/code><\/pre>\n<p>  \u041c\u044b \u043c\u043e\u0436\u0435\u043c \u0441\u043b\u0435\u0434\u043e\u0432\u0430\u0442\u044c \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0435 JSON, \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044f \u0442\u043e\u0447\u0435\u0447\u043d\u0443\u044e \u043d\u043e\u0442\u0430\u0446\u0438\u044e:<\/p>\n<pre><code>{item.author.displayName}<\/code><\/pre>\n<hr\/>\n<h4>\u0421\u0441\u044b\u043b\u043e\u0447\u043d\u044b\u0439 \u0438\u043d\u0434\u0435\u043a\u0441 (@)<\/h4>\n<p>  @ \u043d\u0435\u0441\u0435\u0442 \u0432 \u0441\u0435\u0431\u0435 \u0441\u0441\u044b\u043b\u043a\u0443 \u043d\u0430 \u044d\u043b\u0435\u043c\u0435\u043d\u0442 \u043d\u0430\u0445\u043e\u0434\u044f\u0449\u0438\u0439\u0441\u044f \u0432 \u043e\u0431\u043b\u0430\u0441\u0442\u0438 \u0432\u0438\u0434\u0438\u043c\u043e\u0441\u0442\u0438 \u2014 \u043a\u0430\u043a &#8216;this&#8217; \u0432 JavaScript<br \/>  \u041e\u0431\u044b\u0447\u043d\u043e \u044d\u0442\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u0447\u0442\u043e\u0431\u044b \u043e\u0442\u043e\u0431\u0440\u0430\u0437\u0438\u0442\u044c HTML-\u043a\u043e\u0434, \u0432 \u0442\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u0435\u0441\u043b\u0438 \u0435\u0441\u0442\u044c \u0447\u0442\u043e \u043e\u0442\u043e\u0431\u0440\u0430\u0437\u0438\u0442\u044c.<\/p>\n<p>  \u0414\u0430\u0432\u0430\u0439\u0442\u0435 \u0432\u0437\u0433\u043b\u044f\u043d\u0435\u043c \u043d\u0430 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439 \u043f\u0440\u0438\u043c\u0435\u0440:<\/p>\n<pre><code>&lt;div class=&quot;title&quot;&gt;{title}&lt;\/div&gt;<\/code><\/pre>\n<p>  \u0412 \u0434\u0430\u043d\u043d\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435, \u0435\u0441\u043b\u0438 {title} \u043d\u0435 \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u0435\u0442, \u0432 HTML \u0431\u0443\u0434\u0435\u0442 \u0437\u0430\u043f\u0438\u0441\u0430\u043d \u043f\u0443\u0441\u0442\u043e\u0439 DIV:<\/p>\n<pre><code>&lt;div class=&quot;title&quot;&gt;&lt;\/div&gt;<\/code><\/pre>\n<p>  \u0427\u0442\u043e\u0431\u044b \u0438\u0437\u0431\u0435\u0436\u0430\u0442\u044c \u044d\u0442\u043e\u0433\u043e, \u0438\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u044f \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u0437\u0430\u043f\u0438\u0441\u0430\u043d\u0430 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c:<\/p>\n<pre><code>{.section title}&lt;div&gt;{@}&lt;\/div&gt;{.end}<\/code><\/pre>\n<p>  \u0412 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u0435, \u0435\u0441\u043b\u0438 \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u044f \u043d\u0435\u0442, \u0432 HTML \u043d\u0438\u0447\u0435\u0433\u043e \u043d\u0435 \u0437\u0430\u043f\u0438\u0448\u0435\u0442\u0441\u044f.<\/p>\n<hr\/>\n<h4>\u041c\u0438\u043d\u0438\u0430\u0442\u044e\u0440\u0430<\/h4>\n<p>  \u041e\u0431\u044b\u0447\u043d\u043e, \u043a\u0430\u0436\u0434\u044b\u0439 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u044b \u043a\u043e\u043b\u043b\u0435\u043a\u0446\u0438\u0438 <i>(\u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440: \u0431\u043b\u043e\u0433\u0430)<\/i> \u0438\u043c\u0435\u0435\u0442 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0435\u0435 \u0435\u043c\u0443 \u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0435.<br \/>  \u041c\u0438\u043d\u0438\u0430\u0442\u044e\u0440\u0430 \u043f\u0440\u0438\u0432\u044f\u0437\u0430\u043d\u0430 \u043a \u043f\u0443\u0431\u043b\u0438\u043a\u0430\u0446\u0438\u0438 \u0447\u0435\u0440\u0435\u0437 URL \u0434\u0430\u043d\u043d\u043e\u0433\u043e \u043f\u043e\u0441\u0442\u0430, \u0442\u0430\u043a \u0447\u0442\u043e \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u043a \u043d\u0435\u0439 \u0434\u043e\u0441\u0442\u0443\u043f \u0434\u0430\u0432\u043e\u043b\u044c\u043d\u043e \u043b\u0435\u0433\u043a\u043e:<\/p>\n<p>  \u041a\u0430\u0436\u0434\u043e\u0435 \u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0435 \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0441 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u0438\u043c\u0438 \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u0430\u043c\u0438 \u0448\u0438\u0440\u0438\u043d\u044b:<\/p>\n<pre><code>original, 1500w, 1000w, 750w, 500w, 300w, 100w<\/code><\/pre>\n<p>  \u0421\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u0435\u0442 \u0442\u0430\u043a\u0436\u0435 \u0441\u043f\u0435\u0446\u0438\u0430\u043b\u044c\u043d\u044b\u0439 \u0442\u0435\u0441\u0442 \u043d\u0430 \u043d\u0430\u043b\u0438\u0447\u0438\u0435 \u0443 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u0430 \u043a\u043e\u043b\u043b\u0435\u043a\u0446\u0438\u0438, \u0441\u0432\u044f\u0437\u0430\u043d\u043d\u043e\u0433\u043e \u0441 \u043d\u0435\u0439 \u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u044f. \u042d\u0442\u043e \u043d\u0443\u0436\u043d\u043e \u0447\u0442\u043e\u0431\u044b \u043d\u0435 \u043e\u043a\u0430\u0437\u0430\u0442\u044c\u0441\u044f \u0441 \u043f\u0443\u0441\u0442\u044b\u043c \u0442\u0435\u0433\u043e\u043c  \u0432 HTML.<\/p>\n<pre><code>{.main-image?}{.end}<\/code><\/pre>\n<p>  \u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440:<\/p>\n<pre><code>{.main-image?}&lt;img src=&quot;&quot; \/&gt;{.end}<\/code><\/pre>\n<p>  \u0415\u0441\u043b\u0438 \u0448\u0430\u0431\u043b\u043e\u043d \u043e\u0436\u0438\u0434\u0430\u0435\u0442 \u043d\u0430\u043b\u0438\u0447\u0438\u0435 \u043e\u0441\u043d\u043e\u0432\u043d\u043e\u0433\u043e \u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u044f, \u0432\u043d\u0435 \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u0438 \u043e\u0442 \u0442\u043e\u0433\u043e \u0437\u0430\u0433\u0440\u0443\u0436\u0435\u043d\u043e \u043e\u043d\u043e \u0438\u043b\u0438 \u043d\u0435\u0442, \u043c\u043e\u0436\u043d\u043e \u0432\u043e\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c\u0441\u044f \u0438\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u0435\u0439 or: <\/p>\n<pre><code>{.main-image?}   &lt;img src=&quot;&quot; \/&gt; {.or}   &lt;img src=&quot;[fallback-img-URL]&quot; \/&gt; {.end}<\/code><\/pre>\n<hr\/>\n<h4>\u041c\u043d\u043e\u0436\u0435\u0441\u0442\u0432\u0435\u043d\u043d\u043e\u0435 \u0447\u0438\u0441\u043b\u043e<\/h4>\n<p>  \u0414\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u0442 \u043a \u0441\u043b\u043e\u0432\u0443 \u043e\u043a\u043e\u043d\u0447\u0430\u043d\u0438\u0435 \u00abS\u00bb, \u0435\u0441\u043b\u0438 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435&gt; 1<\/p>\n<pre><code>You have {num} message{num|pluralize}.<\/code><\/pre>\n<p>  \u0414\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u0442 \u043a \u0441\u043b\u043e\u0432\u0443 \u043e\u043a\u043e\u043d\u0447\u0430\u043d\u0438\u0435 \u00abES\u00bb, \u0435\u0441\u043b\u0438 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435&gt; 1<\/p>\n<pre><code>They suffered {num} loss{num|pluralize es}.<\/code><\/pre>\n<p>  \u041e\u0431\u043b\u0435\u0433\u0447\u0430\u0435\u0442 \u0441\u0432\u044f\u0437\u044c \u043c\u0435\u0436\u0434\u0443 \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u043c \u0438 \u0433\u043b\u0430\u0433\u043e\u043b\u043e\u043c<\/p>\n<pre><code>There {num|pluralize is are} {num} song{num|pluralize}.<\/code><\/pre>\n<p>  \u0421\u0432\u043e\u0439 \u0432\u0430\u0440\u0438\u0430\u043d\u0442 (\u043f\u0435\u0440\u0432\u043e\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u043f\u0440\u0438\u0441\u0432\u0430\u0438\u0432\u0430\u0435\u0442\u0441\u044f, \u0435\u0441\u043b\u0438 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 = 1, \u0432\u0442\u043e\u0440\u043e\u0435, \u0435\u0441\u043b\u0438 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 &gt; 1)<\/p>\n<pre><code>{num-people|pluralize\/It depends\/They depend} on {num-things} thing{num-things|pluralize}.<\/code><\/pre>\n<h5>\u041f\u0440\u0438\u043c\u0435\u0440 \u043f\u043e\u0441\u043b\u043e\u0436\u043d\u0435\u0435:<\/h5>\n<p>  <\/p>\n<pre><code>{.repeated section num}    {.plural?}     There are {@} people here.   {.or singular?}     There is one person here.   {.or}     There is nobody here.   {.end}  {.end}<\/code><\/pre>\n<hr\/>\n<h4>\u0424\u043e\u0440\u043c\u0430\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u0434\u0430\u043d\u043d\u044b\u0445<\/h4>\n<p>  <\/p>\n<h5>\u0414\u0430\u0442\u0430 \u0438 \u0432\u0440\u0435\u043c\u044f<\/h5>\n<p>  \u0424\u043e\u0440\u043c\u0430\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u0434\u0430\u0442\u044b \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e \u0432 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0438\u0438 \u0441 \u0444\u043e\u0440\u043c\u0430\u0442\u043e\u043c \u0434\u0430\u0442\u044b \u0432 <a href=\"http:\/\/yuilibrary.com\/\">YUI<\/a><\/p>\n<pre><code>{addedOn|date %A, %B %d}<\/code><\/pre>\n<p>  \u0418\u043b\u0438 \u0432 \u0441\u0442\u0438\u043b\u0435 \u0442\u0432\u0438\u0442\u0442\u0435\u0440\u0430<\/p>\n<pre><code>{addedOn|timesince}<\/code><\/pre>\n<p>  <\/p>\n<h5>\u0424\u043e\u0440\u043c\u0430\u0442 \u0441\u0442\u0440\u043e\u043a\u0438<\/h5>\n<p>  html \u2013 \u043f\u0440\u043e\u043f\u0443\u0441\u043a\u0430\u0435\u0442 html-\u0442\u0435\u0433\u0438 (&lt;, &gt;, &#038;)<\/p>\n<pre><code>{[string]|html}<\/code><\/pre>\n<p>  htmltag \u2013 \u043f\u0440\u043e\u043f\u0443\u0441\u043a\u0430\u0435\u0442 html-\u0442\u0435\u0433\u0438 \u0438 \u043a\u0430\u0432\u044b\u0447\u043a\u0438 (&lt;, &gt;, &#038;, &quot;&quot;)<\/p>\n<pre><code>{[string]|htmltag}<\/code><\/pre>\n<p>  slugify \u2013 \u043f\u0440\u0435\u043e\u0431\u0440\u0430\u0437\u0443\u0435\u0442 \u0442\u0435\u043a\u0441\u0442 \u0432 \u043d\u0438\u0436\u043d\u0438\u0439 \u0440\u0435\u0433\u0438\u0441\u0442\u0440, \u0443\u0434\u0430\u043b\u044f\u0435\u0442 \u0432\u0441\u0435, \u043a\u0440\u043e\u043c\u0435 \u0431\u0443\u043a\u0432\u0435\u043d\u043d\u043e-\u0446\u0438\u0444\u0440\u043e\u0432\u044b\u0445 \u0441\u0438\u043c\u0432\u043e\u043b\u043e\u0432 \u0438 \u0441\u0438\u043c\u0432\u043e\u043b\u043e\u0432 \u043f\u043e\u0434\u0447\u0435\u0440\u043a\u0438\u0432\u0430\u043d\u0438\u044f, \u043f\u0440\u0435\u043e\u0431\u0440\u0430\u0437\u0443\u0435\u0442 \u043f\u0440\u043e\u0431\u0435\u043b\u044b \u0432 \u0434\u0435\u0444\u0438\u0441.<\/p>\n<pre><code>{[string]|slugify}<\/code><\/pre>\n<p>  smartypants \u2014 \u043f\u0435\u0440\u0435\u0432\u043e\u0434\u0438\u0442 \u043f\u0440\u043e\u0441\u0442\u044b\u0435 \u0441\u0438\u043c\u0432\u043e\u043b\u044b \u043f\u0443\u043d\u043a\u0442\u0443\u0430\u0446\u0438\u0438 ASCII \u0432 \u00ab\u0443\u043c\u043d\u044b\u0435\u00bb \u0442\u0438\u043f\u043e\u0433\u0440\u0430\u0444\u0441\u043a\u0438\u0435 \u0437\u043d\u0430\u043a\u0438 \u043f\u0440\u0435\u043f\u0438\u043d\u0430\u043d\u0438\u044f HTML (\u0418\u0441\u0442\u043e\u0447\u043d\u0438\u043a: <a href=\"http:\/\/daringfireball.net\/projects\/smartypants\/\">http:\/\/daringfireball.net\/projects\/smartypants\/<\/a>)<\/p>\n<pre><code>{[string]|smartypants}<\/code><\/pre>\n<hr\/>\n<h4>\u041f\u0440\u0435\u0434\u0438\u043a\u0430\u0442\u044b<\/h4>\n<p>  \u042d\u0442\u043e \u0441\u0435\u0440\u0438\u044f \u0441\u043f\u0435\u0446\u0438\u0444\u0438\u0447\u043d\u044b\u0445 \u0434\u043e\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u0439 \u043e\u0442 <a href=\"http:\/\/squarespace.com\">Squarespace<\/a> \u0434\u043b\u044f JSON Template. \u0422\u0435\u0441\u0442\u044b \u0434\u043b\u044f \u0430\u0434\u0430\u043f\u0442\u0430\u0446\u0438\u0438 \u043a\u043e\u0434\u0430 \u043a \u043a\u043e\u043d\u043a\u0440\u0435\u0442\u043d\u044b\u043c \u0441\u0438\u0442\u0443\u0430\u0446\u0438\u044f\u043c. <i>\u0421\u0435\u0440\u0432\u0438\u0441 <a href=\"http:\/\/squarespace.com\">Squarespace<\/a> \u043e\u0447\u0435\u043d\u044c \u0432\u0434\u043e\u0445\u043d\u043e\u0432\u043b\u044f\u044e\u0449\u0430\u044f \u0448\u0442\u0443\u043a\u0430, \u044f \u043d\u0430\u043f\u0438\u0448\u0443 \u043e \u043d\u0435\u0439 \u0432 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0439 \u0441\u0442\u0430\u0442\u044c\u0435. \u0418\u043c\u0435\u043d\u043d\u043e \u043f\u0440\u0438 \u0437\u043d\u0430\u043a\u043e\u043c\u0441\u0442\u0432\u0435 \u0441 \u0434\u0435\u0432\u0435\u043b\u043e\u043f\u0435\u0440\u0441\u043a\u043e\u0439 \u0447\u0430\u0441\u0442\u044c\u044e \u0438\u0445 \u043f\u0440\u043e\u0434\u0443\u043a\u0442\u0430 \u043d\u0430\u043c \u0438 \u043f\u043e\u0442\u0440\u0435\u0431\u0443\u044e\u0442\u0441\u044f \u0437\u043d\u0430\u043d\u0438\u044f \u0432 JSON Template.<\/i><\/p>\n<p>  \u0412\u0441\u0435 \u043f\u0440\u0435\u0434\u0438\u043a\u0430\u0442\u044b \u0440\u0430\u0431\u043e\u0442\u0430\u044e\u0442 \u043a\u0430\u043a \u044d\u0442\u043e\u0442:<\/p>\n<pre><code>{.predicate-name?}   code if the predicate test returns true {.or}   code if it the test is not true {.end}<\/code><\/pre>\n<p>  <\/p>\n<h5>\u0428\u0438\u0440\u043e\u043a\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c\u044b\u0435 \u043f\u0440\u0435\u0434\u0438\u043a\u0430\u0442\u044b:<\/h5>\n<p>  \u0418\u043c\u0435\u0435\u0442 \u043b\u0438 \u044d\u043b\u0435\u043c\u0435\u043d\u0442 \u043a\u043e\u043b\u043b\u0435\u043a\u0446\u0438\u0438 (\u0438\u043b\u0438 \u0441\u0430\u043c\u0430 \u043a\u043e\u043b\u043b\u0435\u043a\u0446\u0438\u044f) \u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0435 (\u043c\u0438\u043d\u0438\u0430\u0442\u044e\u0440\u0443)?<\/p>\n<pre><code>{.main-image?}<\/code><\/pre>\n<p>  \u0418\u043c\u0435\u0435\u0442 \u043b\u0438 \u044d\u043b\u0435\u043c\u0435\u043d\u0442 \u043a\u043e\u043b\u043b\u0435\u043a\u0446\u0438\u0438 \u043e\u043f\u0438\u0441\u0430\u043d\u0438\u0435?<\/p>\n<pre><code>{.excerpt?}<\/code><\/pre>\n<p>  \u0418\u043c\u0435\u0435\u0442 \u043b\u0438 \u044d\u043b\u0435\u043c\u0435\u043d\u0442 \u043a\u043e\u043b\u043b\u0435\u043a\u0446\u0438\u0438 \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u0438?<\/p>\n<pre><code>{.comments?}<\/code><\/pre>\n<p>  \u0418\u043c\u0435\u0435\u0442 \u043b\u0438 \u044d\u043b\u0435\u043c\u0435\u043d\u0442 \u043a\u043e\u043b\u043b\u0435\u043a\u0446\u0438\u0438 \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u0438 Disqus?<\/p>\n<pre><code>{.disqus?}<\/code><\/pre>\n<h5>\u041f\u0440\u0435\u0434\u0438\u043a\u0430\u0442\u044b \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u044b\u0445 \u0431\u043b\u043e\u043a\u043e\u0432 Squarespase<\/h5>\n<p>  \u0418\u043c\u0435\u0435\u0442 \u043b\u0438 \u044d\u043b\u0435\u043c\u0435\u043d\u0442 \u043a\u043e\u043d\u043a\u0440\u0435\u0442\u043d\u044b\u0439 \u0442\u0438\u043f \u0431\u043b\u043e\u043a\u0430?<\/p>\n<pre><code>{.promote[blockName]?}<\/code><\/pre>\n<p>  \u0414\u043e\u0441\u0442\u0443\u043f\u043d\u044b\u0435 [blockName] \u0442\u0435\u0441\u0442\u044b (\u0437\u0430\u043c\u0435\u043d\u0442\u0435 [blockName] \u043d\u0430 \u043e\u0434\u0438\u043d \u0438\u0437 \u043f\u0440\u0438\u0432\u0435\u0434\u0435\u043d\u043d\u044b\u0445 \u043d\u0438\u0436\u0435 \u0442\u0438\u043f\u043e\u0432):<\/p>\n<pre><code>map, embed, image, code, quote, twitter, link, video, foursquare, instagram, form<\/code><\/pre>\n<h5>\u041f\u0440\u0435\u0434\u0438\u043a\u0430\u0442\u044b \u043d\u0430\u0432\u0438\u0433\u0430\u0446\u0438\u043e\u043d\u043d\u044b\u0445 \u0448\u0430\u0431\u043b\u043e\u043d\u043e\u0432<\/h5>\n<p>  \u042f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u043b\u0438 \u0434\u0430\u043d\u043d\u044b\u0439 \u043d\u0430\u0432\u0438\u0433\u0430\u0446\u0438\u043e\u043d\u043d\u044b\u0439 \u043f\u0443\u043d\u043a\u0442 \u0432\u043d\u0435\u0448\u043d\u0435\u0439 \u0441\u0441\u044b\u043b\u043a\u043e\u0439?<\/p>\n<pre><code>{.external-link?}<\/code><\/pre>\n<p>  \u042f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u043b\u0438 \u0434\u0430\u043d\u043d\u044b\u0439 \u043d\u0430\u0432\u0438\u0433\u0430\u0446\u0438\u043e\u043d\u043d\u044b\u0439 \u043f\u0443\u043d\u043a\u0442 \u043f\u0430\u043f\u043a\u043e\u0439?<\/p>\n<pre><code>{.folder?}<\/code><\/pre>\n<h5>\u0414\u0440\u0443\u0433\u0438\u0435 \u043f\u0440\u0435\u0434\u0438\u043a\u0430\u0442\u044b<\/h5>\n<p>  \u0418\u043c\u0435\u0435\u0442 \u043b\u0438 \u0434\u0430\u043d\u043d\u044b\u0439 \u044d\u043b\u0435\u043c\u0435\u043d\u0442 \u043a\u043e\u043b\u043b\u0435\u043a\u0446\u0438\u0438 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044e \u043e \u043c\u0435\u0441\u0442\u043e\u043f\u043e\u043b\u043e\u0436\u0435\u043d\u0438\u0438?<\/p>\n<pre><code>{.location?}<\/code><\/pre>\n<p>  \u042f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u043b\u0438 \u0434\u0430\u043d\u043d\u044b\u0439 \u044d\u043b\u0435\u043c\u0435\u043d\u0442 \u043a\u043e\u043b\u043b\u0435\u043a\u0446\u0438\u0438 \u0441\u043e\u0431\u044b\u0442\u0438\u0435\u043c (Event)?<\/p>\n<pre><code>{.event?}<\/code><\/pre>\n<hr\/>\n<h4>\u041f\u0440\u043e\u0434\u0432\u0438\u043d\u0443\u0442\u044b\u0439 JSONT<\/h4>\n<h5>\u041a\u043e\u043d\u0441\u0442\u0430\u043d\u0442\u044b<\/h5>\n<p>  \u0414\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0431\u0435\u0437\u0441\u0438\u043c\u0432\u043e\u043b\u044c\u043d\u044b\u0439 \u043f\u0440\u043e\u0431\u0435\u043b:<\/p>\n<pre><code>{.space}<\/code><\/pre>\n<p>  \u0414\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0442\u0430\u0431\u0443\u043b\u044f\u0446\u0438\u044e:<\/p>\n<pre><code>{.tab}<\/code><\/pre>\n<p>  \u0414\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u043f\u0435\u0440\u0435\u043d\u043e\u0441 \u0441\u0442\u0440\u043e\u043a\u0438 (\/n):<\/p>\n<pre><code>{.newline}<\/code><\/pre>\n<p>  \u0414\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u043c\u0435\u0442\u0430-\u0434\u0430\u043d\u043d\u044b\u0435:<\/p>\n<pre><code>{.meta-left} and {.meta-right}<\/code><\/pre>\n<h5>\u041a\u043e\u043c\u043c\u0435\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u043a\u043e\u0434\u0430 JSONT<\/h5>\n<p>  <\/p>\n<pre><code>Hello {# Comment} There<\/code><\/pre>\n<h5>\u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 \u043c\u0435\u0442\u0430-\u0434\u0430\u043d\u043d\u044b\u0445<\/h5>\n<p>  <\/p>\n<pre><code>&lt;%.meta-left%&gt;Hello&lt;%.meta-right%&gt; = HTML: &lt;%Hello%&gt;.<\/code><\/pre>\n<h5>\u0412\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f (\u0438\u043b\u0438 \u0447\u0442\u043e-\u0442\u043e \u0432\u0440\u043e\u0434\u0435 \u0432\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0439)<\/h5>\n<p>  \u041c\u043e\u0436\u043d\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0444\u043e\u0440\u043c\u0430\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u0447\u0442\u043e\u0431\u044b \u0437\u0430\u0433\u0440\u0443\u0436\u0430\u0442\u044c \u0448\u0430\u0431\u043b\u043e\u043d\u044b, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e\u0442 \u0434\u0430\u043d\u043d\u044b\u0435 \u0432 \u043f\u0440\u0435\u0434\u0435\u043b\u0430\u0445 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u043d\u043e\u0439 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u043e\u0439 \u0444\u043e\u0440\u043c\u0430\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f. \u0412\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435 \u043d\u0430\u0447\u0438\u043d\u0430\u0435\u0442\u0441\u044f \u0441 &#8216;%&#8217; \u0438 \u0437\u0430\u0433\u0440\u0443\u0436\u0430\u0435\u0442 \u0444\u0430\u0439\u043b\u044b \u0448\u0430\u0431\u043b\u043e\u043d\u0430.<\/p>\n<pre><code>{owner|%user-profile.jsont}<\/code><\/pre>\n<h5>\u041e\u043f\u0435\u0440\u0430\u0442\u043e\u0440 if (\u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u0435)<\/h5>\n<p>  \u0421\u043e\u0437\u0434\u0430\u0435\u0442 \u0441\u0435\u043a\u0446\u0438\u044e, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0430\u0435\u0442\u0441\u044f \u0435\u0441\u043b\u0438 &#8216;if&#8217; \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u0442 \u0438\u0441\u0442\u0438\u043d\u0443 (truthy conditions = true || has-value). \u041f\u0440\u0438\u043c\u0435\u0447\u0430\u043d\u0438\u0435: \u043d\u0435 \u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0438\u0432\u0430\u0442\u044c \u043e\u0431\u043b\u0430\u0441\u0442\u044c \u0432\u0438\u0434\u0438\u043c\u043e\u0441\u0442\u0438.<\/p>\n<pre><code>{.if property.nestedProperty} Hello World {.end}<\/code><\/pre>\n<p>  <i>\u0412\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u043e\u043f\u0435\u0440\u0430\u0442\u043e\u0440 {.or} \u0434\u043b\u044f \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u0438 \u043d\u0435\u0443\u0434\u0430\u0432\u0448\u0438\u0445\u0441\u044f \u0442\u0435\u0441\u0442\u043e\u0432.<\/i><\/p>\n<h4>\u041e\u0442\u043b\u0430\u0434\u043a\u0430<\/h4>\n<p>  <\/p>\n<pre><code>{.Debug?}Rendered in 3 seconds{.end} { &quot;debug&quot; : true|false }<\/code><\/pre>\n<hr\/>\n<p>  \u0425\u043e\u0442\u044c \u044f \u0438 \u043e\u0442\u043e\u0441\u043b\u0430\u043b \u0412\u0430\u0441 \u0432 \u043d\u0430\u0447\u0430\u043b\u0435 \u043a \u043f\u043e\u0441\u0442\u0443 <a href=\"http:\/\/habrahabr.ru\/post\/31225\/\">JSON \u0438 XML. \u0427\u0442\u043e \u043b\u0443\u0447\u0448\u0435?<\/a>, \u0432\u0441\u0435 \u0436\u0435 \u043f\u0440\u0438\u0432\u0435\u0434\u0443 \u043f\u0440\u0438\u043c\u0435\u0440 \u043a\u043e\u0434\u0430 JSON \u0438 \u0437\u0434\u0435\u0441\u044c.<\/p>\n<h4>\u041f\u0440\u0438\u044f\u0442\u043d\u044b\u0439 JSON<\/h4>\n<p>  <\/p>\n<pre><code>{   &quot;widget&quot; :    {        &quot;widget-title&quot; : &quot;Navigation&quot;,      &quot;widget-id&quot; : 1452345,      &quot;widget-type&quot; : &quot;nav&quot;,      &quot;base-url&quot; : &quot;http:\/\/joshkill.com&quot;,      &quot;items&quot; : [       {          &quot;title&quot; : &quot;Home&quot;,         &quot;description&quot; : &quot;Home is where the heart is&quot;,         &quot;icon&quot; : &quot;btn-home.png&quot;,         &quot;url&quot; : &quot;home.html&quot;       },       {         &quot;title&quot; : &quot;Services&quot;,         &quot;description&quot; : &quot;We do it all, then some&quot;,         &quot;icon&quot; : &quot;btn-services.png&quot;,         &quot;url&quot; : &quot;services.html&quot;       },       {         &quot;title&quot; : &quot;Contact&quot;,         &quot;description&quot; : &quot;Let's work together!&quot;,         &quot;icon&quot; : &quot;btn-contact.png&quot;,         &quot;url&quot; : &quot;contact.html&quot;       }     ]   } }<\/code><\/pre>\n<h4>\u0423\u0440\u043e\u0434\u043b\u0438\u0432\u044b\u0439 JSON (\u0432 \u0441\u0442\u0440\u043e\u0447\u043a\u0443)<\/h4>\n<p>  <\/p>\n<pre><code>{ &quot;widget&quot; : { &quot;widget-title&quot; : &quot;Navigation&quot;, &quot;widget-id&quot; : 1452345, &quot;widget-type&quot; : &quot;nav&quot;, &quot;base-url&quot; : &quot;http:\/\/joshkill.com&quot;, &quot;items&quot; : [ { &quot;title&quot; : &quot;Home&quot;, &quot;description&quot; : &quot;Home is where the heart is&quot;, &quot;icon&quot; : &quot;btn-home.png&quot;, &quot;url&quot; : &quot;home.html&quot; }, { &quot;title&quot; : &quot;Services&quot;, &quot;description&quot; : &quot;We do it all, then some&quot;, &quot;icon&quot; : &quot;btn-services.png&quot;, &quot;url&quot; : &quot;services.html&quot; }, { &quot;title&quot; : &quot;Contact&quot;, &quot;description&quot; : &quot;Let's work together!&quot;, &quot;icon&quot; : &quot;btn-contact.png&quot;, &quot;url&quot; : &quot;contact.html&quot; } ] }}<\/code><\/pre>\n<hr\/>\n<h4>\u041e\u0431\u043b\u0430\u0441\u0442\u044c \u0432\u0438\u0434\u0438\u043c\u043e\u0441\u0442\u0438<\/h4>\n<p>  \u042f \u043f\u043e\u043f\u044b\u0442\u0430\u044e\u0441\u044c \u0440\u0430\u0441\u0441\u043a\u0430\u0437\u0430\u0442\u044c \u043e\u0431 \u043e\u0431\u043b\u0430\u0441\u0442\u0438 \u0432\u0438\u0434\u0438\u043c\u043e\u0441\u0442\u0438, \u044d\u0442\u043e \u043f\u0440\u043e\u0441\u0442\u0430\u044f \u043a\u043e\u043d\u0446\u0435\u043f\u0446\u0438\u044f.<\/p>\n<p>  \u041d\u0430\u0438\u0431\u043e\u043b\u0435\u0435 \u043d\u0430\u0433\u043b\u044f\u0434\u043d\u044b\u043c \u043f\u0440\u0438\u043c\u0435\u0440\u043e\u043c \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u0438\u044f \u043e\u0431\u043b\u0430\u0441\u0442\u0438 \u0432\u0438\u0434\u0438\u043c\u043e\u0441\u0442\u0438 \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0430 \u043f\u0430\u043f\u043e\u043a \u043d\u0430 \u043a\u043e\u043c\u043f\u044c\u044e\u0442\u0435\u0440\u0435 \u043f\u0440\u0438 \u043f\u043e\u043f\u044b\u0442\u043a\u0435 \u043d\u0430\u0439\u0442\u0438 \u0444\u0430\u0439\u043b. \u0412 JSON, \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u0430\u044f, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u0442 \u0434\u0440\u0443\u0433\u0438\u0435 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0435 \u043f\u043e\u0445\u043e\u0436\u0430 \u043d\u0430 \u043f\u0430\u043f\u043a\u0443 \u043a\u043e\u043c\u043f\u044c\u044e\u0442\u0435\u0440\u0430. \u041f\u0440\u0438 \u043d\u0430\u0436\u0430\u0442\u0438\u0438 \u0432 \u043b\u044e\u0431\u0443\u044e \u043f\u0430\u043f\u043a\u0443, \u0443 \u043d\u0430\u0441 \u0435\u0441\u0442\u044c \u0434\u043e\u0441\u0442\u0443\u043f \u043a \u0444\u0430\u0439\u043b\u0430\u043c \u0432\u043d\u0443\u0442\u0440\u0438. \u0410\u043d\u0430\u043b\u043e\u0433\u0438\u0447\u043d\u044b\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c, \u043a\u043e\u0433\u0434\u0430 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u0430\u044f \u0432 JSON \u043d\u0430\u0445\u043e\u0434\u0438\u0442\u0441\u044f \u0432 \u043e\u0431\u043b\u0430\u0441\u0442\u0438 \u0432\u0438\u0434\u0438\u043c\u043e\u0441\u0442\u0438, \u0443 \u043d\u0430\u0441 \u0435\u0441\u0442\u044c \u043f\u0440\u044f\u043c\u043e\u0439 \u0434\u043e\u0441\u0442\u0443\u043f \u043a \u0434\u0440\u0443\u0433\u0438\u043c \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0445 \u0432\u043d\u0443\u0442\u0440\u0438.<\/p>\n<p>  \u0420\u0430\u0441\u0441\u043c\u043e\u0442\u0440\u0438\u043c \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439 \u043f\u0440\u0438\u043c\u0435\u0440 JSON:<\/p>\n<pre><code>{      &quot;items&quot;: [       {         &quot;fullUrl&quot;: &quot;\/notebook\/a-post-a-post&quot;,         &quot;title&quot;: &quot;A Post! A Post!&quot;,         &quot;data&quot;: {             &quot;commentCount&quot;: 0,             &quot;body&quot;: &quot;Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque tincidunt aliquam tortor eu volutpat. Sed sem mauris, faucibus a hendrerit non, vulputate non dolor. Morbi fermentum tortor et lectus ultrices vulputate. Morbi tincid boblong sipe...&quot;            }       },       {         &quot;fullUrl&quot;: &quot;\/notebook\/blog-ideas&quot;,         &quot;title&quot;: &quot;Blog Ideas&quot;,         &quot;data&quot;: {             &quot;commentCount&quot;: 0,             &quot;body&quot;: &quot;Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque tincidunt aliquam tortor eu volutpat. Sed sem mauris, faucibus a hendrerit non, vulputate non dolor. Morbi fermentum tortor et lectus ultrices vulputate. Morbi rhoncus faucibus diam ...&quot;            }       }     ] }<\/code><\/pre>\n<p>  \u041f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u0430\u044f \u00abitems\u00bb \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u0442 \u0434\u0440\u0443\u0433\u0438\u0435 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0435. \u0418 \u0432\u043d\u0443\u0442\u0440\u0438 \u00abitems\u00bb, \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u0430\u044f \u00abdata\u00bb \u0442\u043e\u0436\u0435 \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u0442 \u0434\u0440\u0443\u0433\u0438\u0435 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0435. \u041e \u043d\u0438\u0445 \u0432\u043f\u043e\u043b\u043d\u0435 \u043c\u043e\u0436\u043d\u043e \u0434\u0443\u043c\u0430\u0442\u044c \u043e \u043a\u0430\u043a \u043e \u043f\u0430\u043f\u043a\u0430\u0445.<\/p>\n<p>  \u041a\u043e\u0433\u0434\u0430 \u043c\u044b \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c \u0441\u0435\u043a\u0446\u0438\u044e JSON, \u044d\u0444\u0444\u0435\u043a\u0442 \u0442\u043e\u0442 \u0436\u0435 \u0447\u0442\u043e \u0438 \u043f\u0440\u0438 \u043e\u0442\u043a\u0440\u044b\u0442\u0438\u0438 \u043f\u0430\u043f\u043a\u0438 \u043d\u0430 \u043a\u043e\u043c\u043f\u044c\u044e\u0442\u0435\u0440\u0435, \u0443 \u0432\u0430\u0441 \u0435\u0441\u0442\u044c \u043f\u0440\u044f\u043c\u043e\u0439 \u0434\u043e\u0441\u0442\u0443\u043f \u043a \u0444\u0430\u0439\u043b\u0430\u043c \u0432\u043d\u0443\u0442\u0440\u0438. <\/p>\n<p>  \u041e\u043a\u0435\u0439, \u0442\u0435\u043f\u0435\u0440\u044c \u0434\u0430\u0432\u0430\u0439\u0442\u0435 \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0438\u043c \u043e\u0431\u043b\u0430\u0441\u0442\u0438 \u0432\u0438\u0434\u0438\u043c\u043e\u0441\u0442\u0438 JSON Template \u0432 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0438:<\/p>\n<h5>\u041f\u0440\u0438\u043c\u0435\u0440<\/h5>\n<p>  \u0415\u0441\u043b\u0438 \u043c\u044b \u0445\u043e\u0442\u0438\u043c \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u00abbody\u00bb \u0434\u043b\u044f \u043a\u0430\u0436\u0434\u043e\u0433\u043e \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u0430, \u043c\u043e\u0436\u043d\u043e \u043d\u0430\u043f\u0438\u0441\u0430\u0442\u044c \u0442\u0430\u043a:<\/p>\n<pre><code>{.repeated section items}    {data.body}  {.end}<\/code><\/pre>\n<p>  \u0418\u043b\u0438 \u043c\u044b \u043c\u043e\u0433\u043b\u0438 \u0431\u044b \u043f\u043e\u043c\u0435\u0441\u0442\u0438\u0442\u044c \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0435 \u0432 \u043e\u0431\u043b\u0430\u0441\u0442\u044c \u0432\u0438\u0434\u0438\u043c\u043e\u0441\u0442\u0438 \u00abdata\u00bb:<\/p>\n<pre><code>{.repeated section items}    {.section data}     {body}   {.end} {.end}<\/code><\/pre>\n<p>  \u041d\u0430\u043c \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u043e \u00abbody\u00bb \u043f\u043e\u0432\u0441\u044e\u0434\u0443, \u043f\u0440\u043e\u0441\u0442\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c \u0443\u043a\u0430\u0437\u0430\u0442\u0435\u043b\u044c &quot;@&quot; \u0434\u043b\u044f \u0434\u043e\u0441\u0442\u0443\u043f\u0430 \u043a \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u043e\u0439 \u00abbody\u00bb:<\/p>\n<pre><code>{.repeated section items}    {.section data}     {.section body}       {@}     {.end}   {.end} {.end}<\/code><\/pre>\n<p>  \u0417\u0430\u0440\u0443\u0431\u0435\u0436\u043d\u044b\u0435 \u0438\u0441\u0442\u043e\u0447\u043d\u0438\u043a\u0438? \u2014 &quot;<a href=\"http:\/\/jsont.squarespace.com\/\">\u0414\u0430<\/a>&quot;. \u0418\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044f \u043d\u0438\u043a\u043e\u0433\u0434\u0430 \u043d\u0435 \u043f\u0443\u0431\u043b\u0438\u043a\u043e\u0432\u0430\u043b\u0430\u0441\u044c \u043d\u0430 \u0445\u0430\u0431\u0440\u0435? \u2014 \u00ab\u0414\u0430\u00bb. \u041f\u0440\u043e\u0434\u043e\u043b\u0436\u0435\u043d\u0438\u0435 \u0431\u0443\u0434\u0435\u0442? \u2014 \u00ab\u0414\u0430\u00bb. \t\t\t<\/p>\n<div class=\"clear\"><\/div>\n<\/p><\/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\/206014\/\"> http:\/\/habrahabr.ru\/post\/206014\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<div class=\"content html_format\"> \t\t\t\u0412\u043e-\u043f\u0435\u0440\u0432\u044b\u0445, JSON Template \u044d\u0442\u043e \u043d\u0435 JSON.<br \/>  \u0412\u043e-\u0432\u0442\u043e\u0440\u044b\u0445, \u0435\u0441\u043b\u0438 \u0443 \u0412\u0430\u0441 \u043d\u0435\u0442 \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u043e \u0442\u043e\u043c \u0447\u0435\u043c \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f JSON \u0438\u043b\u0438 \u043a\u0430\u043a \u043e\u043d \u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442, \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u043b\u0443\u0447\u0448\u0435 <a href=\"http:\/\/habrahabr.ru\/post\/31225\/\">\u0437\u0434\u0435\u0441\u044c<\/a>.<\/p>\n<p>  <img decoding=\"async\" src=\"http:\/\/habr.habrastorage.org\/post_images\/ec0\/a56\/c9f\/ec0a56c9fec726b41e65fc33b6ce60ef.jpg\"\/><\/p>\n<h4>\u0421\u0435\u043a\u0446\u0438\u0438 \u0438 \u041f\u043e\u0432\u0442\u043e\u0440\u044f\u044e\u0449\u0438\u0435\u0441\u044f \u0441\u0435\u043a\u0446\u0438\u0438<\/h4>\n<p>  \u0421\u0435\u043a\u0446\u0438\u0438 \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u044e\u0442 \u0431\u043e\u043b\u044c\u0448\u0443\u044e \u0447\u0430\u0441\u0442\u044c \u0440\u0430\u0431\u043e\u0442\u044b \u0432 JSON Template. \u0415\u0441\u0442\u044c \u0432\u0441\u0435\u0433\u043e \u0434\u0432\u0435 \u0432\u0430\u0436\u043d\u044b\u0435 \u0438\u0434\u0435\u0438, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043c\u044b \u0434\u043e\u043b\u0436\u043d\u044b \u0437\u043d\u0430\u0442\u044c \u043e \u0441\u0435\u043a\u0446\u0438\u044f\u0445:<\/p>\n<ol>\n<li>\u0421\u043e\u0434\u0435\u0440\u0436\u0438\u043c\u043e\u0435 \u0441\u0435\u043a\u0446\u0438\u0438 \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0430\u0435\u0442\u0441\u044f \u0442\u043e\u043b\u044c\u043a\u043e \u0435\u0441\u043b\u0438 \u0441\u0435\u043a\u0446\u0438\u044f \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u0435\u0442.<\/li>\n<li>\u0421\u0435\u043a\u0446\u0438\u044f \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u044f\u0435\u0442 \u043e\u0431\u043b\u0430\u0441\u0442\u044c \u0432\u0438\u0434\u0438\u043c\u043e\u0441\u0442\u0438, \u044f\u0432\u043b\u044f\u044f\u0441\u044c \u043a\u043e\u0440\u043d\u0435\u0432\u044b\u043c \u0440\u0430\u0437\u0434\u0435\u043b\u043e\u043c \u0434\u043b\u044f \u043b\u044e\u0431\u044b\u0445, \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u043d\u044b\u0445 \u0432 \u043d\u0435\u0435, \u0434\u0430\u043d\u043d\u044b\u0445.<\/li>\n<\/ol>\n<p>  <\/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-206014","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/206014","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=206014"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/206014\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=206014"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=206014"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=206014"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}