{"id":254605,"date":"2015-04-06T16:42:03","date_gmt":"2015-04-06T12:42:03","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=254605"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=254605","title":{"rendered":"\u041f\u0440\u0438\u0432\u0435\u0434\u0435\u043d\u0438\u0435 \u0442\u0438\u043f\u043e\u0432 \u043d\u0430 Go"},"content":{"rendered":"<p>     \t\u042f \u0434\u0435\u043b\u044e\u0441\u044c \u043f\u0440\u043e\u0441\u0442\u043e\u0439 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u043e\u0439, \u043a\u043e\u0442\u043e\u0440\u0443\u044e \u044f \u043f\u043e\u0441\u0442\u043e\u044f\u043d\u043d\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e. Go \u0445\u043e\u0440\u043e\u0448\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u0441 JSON, \u043d\u043e \u0447\u0430\u0441\u0442\u043e \u043d\u0435 \u0445\u0432\u0430\u0442\u0430\u0435\u0442 \u043d\u0430\u0431\u043e\u0440\u0430 \u0444\u0443\u043d\u043a\u0446\u0438\u0439 \u0434\u043b\u044f \u043f\u0440\u0438\u0432\u0435\u0434\u0435\u043d\u0438\u044f interface{} \u043a \u043a\u0430\u043a\u043e\u043c\u0443-\u0442\u043e \u0442\u0438\u043f\u0443. \u0414\u0430\u0436\u0435 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0438\u0432 \u043a\u0430\u043d\u043e\u043d\u0438\u0447\u043d\u043e \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0443 \u0434\u043b\u044f \u043c\u0430\u0440\u0448\u0430\u043b\u0438\u043d\u0433\u0430 JSON, \u0441\u043e \u0432\u0440\u0435\u043c\u0435\u043d\u0435\u043c \u043f\u0440\u0438\u0445\u043e\u0434\u0438\u0442\u0441\u044f \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u044f\u0442\u044c \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0435 \u043f\u043e\u043b\u0435, \u043d\u0430\u0437\u0432\u0430\u0432 \u0435\u0433\u043e Extra interface{}. \u0412\u043e\u0442 \u043f\u0440\u0438\u043c\u0435\u0440\u043d\u043e, \u0447\u0442\u043e \u043c\u044b \u0438\u043c\u0435\u0435\u043c \u043d\u0430 \u043f\u0440\u0430\u043a\u0442\u0438\u043a\u0435.<br \/>  <a name=\"habracut\"><\/a>  <\/p>\n<pre><code class=\"go\">type Message struct { \tstore       bool \tType        string `json:&quot;type&quot;` \tSession     string `json:&quot;session,omitempty&quot;` \tData     map[string]string `json:&quot;data,omitempty&quot;` \tText     string            `json:&quot;text,omitempty&quot;` \tName     string            `json:&quot;name,omitempty&quot;` \tTime     int64             `json:&quot;time,omitempty,string&quot;` \tServerId int64             `json:&quot;serverId,omitempty,string&quot;` \tExtra    interface{}       `json:&quot;extra,omitempty&quot;` }  <\/code><\/pre>\n<p>  \u041f\u043e\u0447\u0435\u043c\u0443 \u043a\u0430\u043d\u043e\u043d\u0438\u0447\u043d\u044b\u0439 \u043f\u043e\u0434\u0445\u043e\u0434 \u043f\u043b\u043e\u0445\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442. \u041e\u0441\u043d\u043e\u0432\u043d\u043e\u0439 \u0438\u0441\u0442\u043e\u0447\u043d\u0438\u043a JSON \u044d\u0442\u043e JavaScript \u0438\u0437 \u0432\u0435\u0431 \u0431\u0440\u043e\u0443\u0437\u0435\u0440\u0430. JavaScript \u0432\u0441\u0435 \u0447\u0438\u0441\u043b\u0430 \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442 \u043a\u0430\u043a double. JavaScript \u043c\u043e\u0436\u0435\u0442 \u043e\u043a\u0440\u0443\u0433\u043b\u0438\u0442\u044c int64, \u043a \u043f\u0440\u0438\u043c\u0435\u0440\u0443<\/p>\n<pre><code class=\"go\">\tfmt.Println(time.Now().UnixNano()) <\/code><\/pre>\n<p>  \u0432\u044b\u0434\u0430\u0441\u0442 1428308621182823638  <\/p>\n<pre><code class=\"javascript\">javascript:alert(1428308621182823638) <\/code><\/pre>\n<p>  \u0430 \u044d\u0442\u043e \u0443\u0436\u0435 <br \/>  <img decoding=\"async\" src=\"\/\/habrastorage.org\/files\/4c5\/32b\/994\/4c532b99464c4daea5521d43349f3f77.png\"\/><\/p>\n<p>  \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0447\u0438\u0441\u043b\u0430 \u043c\u043e\u0436\u043d\u043e \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u044f\u0442\u044c \u043a\u0430\u043a \u0441\u0442\u0440\u043e\u043a\u0438, \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044f \u0442\u0435\u0433 `json:&quot;,string&quot;`, \u043d\u043e \u044d\u0442\u043e \u043d\u0435 \u0431\u0443\u0434\u0435\u0442 \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c, \u0435\u0441\u043b\u0438 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c \u043d\u0435 \u043f\u043e\u0441\u0442\u0430\u0432\u0438\u0442 \u0432\u043e\u043a\u0440\u0443\u0433 \u0447\u0438\u0441\u043b\u0430 \u043a\u0430\u0432\u044b\u0447\u043a\u0438.<\/p>\n<pre><code class=\"go\">package main  import ( \t&quot;encoding\/json&quot; \t&quot;fmt&quot; )  type X struct { \tTime int64 `json:&quot;time,omitempty,string&quot;` }  func main() { \tvar m1 map[string]interface{} \te := json.Unmarshal([]byte(`{&quot;x&quot;:1,&quot;y&quot;:{}}`), &m1) \tfmt.Println(e, m1) \tvar x X \te = json.Unmarshal([]byte(`{&quot;time&quot;:1}`), &x) \tfmt.Println(e, x) \te = json.Unmarshal([]byte(`{&quot;time&quot;:&quot;1&quot;}`), &x) \tfmt.Println(e, x) } <\/code><\/pre>\n<p>  <a href=\"http:\/\/play.golang.org\/p\/2rqL7pyQ7Y\">Playground<\/a><\/p>\n<p>  {\u00abtime\u00bb:1} \u2014 \u043d\u0435 \u0441\u0440\u0430\u0431\u043e\u0442\u0430\u043b\u043e<\/p>\n<p>  \u0422\u0440\u0443\u0434\u043d\u043e \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0441\u0438\u043b \u043f\u043e\u0442\u0440\u0430\u0442\u0438\u0442 \u0441\u0443\u043f\u043f\u043e\u0440\u0442 \u0432\u0435\u0431 \u0441\u0435\u0440\u0432\u0438\u0441\u0430, \u0434\u0430\u0436\u0435 \u043a\u043e\u0433\u0434\u0430 \u0432 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u0438 \u043d\u0430\u043f\u0438\u0441\u0430\u0442\u044c \u0436\u0438\u0440\u043d\u044b\u043c \u043a\u0443\u0440\u0441\u0438\u0432\u043e\u043c, \u0447\u0442\u043e \u0447\u0438\u0441\u043b\u0430 \u043d\u0430\u0434\u043e \u043f\u0435\u0440\u0435\u0434\u0430\u0432\u0430\u0442\u044c \u0432 \u043a\u0430\u0432\u044b\u0447\u043a\u0430\u0445, \u0442\u043e \u0432\u0441\u0435 \u0440\u0430\u0432\u043d\u043e \u043b\u044e\u0434\u0438 \u0431\u0443\u0434\u0443\u0442 \u0438\u0445 \u043f\u0435\u0440\u0435\u0434\u0430\u0432\u0430\u0442\u044c \u0438 \u0442\u0430\u043a \u0438 \u0442\u0430\u043a. <\/p>\n<p>  \u041e\u0431\u0440\u0430\u0442\u043d\u0430\u044f \u0441\u0438\u0442\u0443\u0430\u0446\u0438\u044f \u0442\u043e\u0436\u0435 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u0430, \u0435\u0441\u043b\u0438 \u0432\u0430\u043c \u043d\u0443\u0436\u043d\u044b \u0447\u0438\u0441\u043b\u0430 \u0432 JSON, \u0442\u043e \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0438 \u043c\u043e\u0433\u0443\u0442 \u043f\u0435\u0440\u0435\u0434\u0430\u0442\u044c \u0447\u0438\u0441\u043b\u043e \u043a\u0430\u043a \u0441\u0442\u0440\u043e\u043a\u0443, \u0432\u0435\u0434\u044c (\u0432 \u041f\u0425\u041f \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442) \u0442\u0435\u0433 &lt;input \/&gt; \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u0442 \u0432\u0432\u0435\u0434\u0435\u043d\u043d\u044b\u0435 \u0447\u0438\u0441\u043b\u0430 \u043a\u0430\u043a \u0441\u0442\u0440\u043e\u043a\u0438, \u0437\u043d\u0430\u0447\u0438\u0442 \u0432 JSON \u0432\u0435\u0431 \u0441\u0435\u0440\u0432\u0438\u0441\u0430 \u0432\u043c\u0435\u0441\u0442\u043e \u0447\u0438\u0441\u0435\u043b \u043c\u043e\u0433\u0443\u0442 \u043f\u043e\u043f\u0430\u0441\u0442\u044c \u0441\u0442\u0440\u043e\u043a\u0438. <\/p>\n<p>  \u0427\u0430\u0441\u0442\u043e \u043f\u0440\u043e\u0449\u0435 \u0431\u044b\u0441\u0442\u0440\u0435\u0439 \u043d\u0430\u043f\u0438\u0441\u0430\u0442\u044c  <\/p>\n<pre><code class=\"go\">\tvar m1 map[string]interface{} \te := json.Unmarshal([]byte(`{&quot;x&quot;:1,&quot;y&quot;:{}}`), &m1) \tfmt.Println(e, m1) <\/code><\/pre>\n<p>  \u0438 \u0442\u0443\u0442 \u043d\u0435 \u0445\u0432\u0430\u0442\u0430\u0435\u0442 \u043b\u0430\u043a\u043e\u043d\u0438\u0447\u043d\u044b\u0445 \u0444\u0443\u043d\u043a\u0446\u0438\u0439 \u0434\u043b\u044f \u043f\u0440\u0438\u0432\u0435\u0434\u0435\u043d\u0438\u044f interface{} \u043a string \u0438\u043b\u0438 []interface{}, \u0432\u043e\u0442 \u0438\u0445 \u044f \u0438 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0438\u043b \u0432 \u0441\u0432\u043e\u0435\u043c \u043f\u0430\u043a\u0435\u0442\u0435 <a href=\"https:\/\/github.com\/CossackPyra\/pyraconv\">pyraconv<\/a>. <\/p>\n<p>  \u041c\u043e\u0438 \u0444\u0443\u043d\u043a\u0446\u0438\u0438 \u043d\u0435 \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u044e\u0442 nil. \u041a \u043f\u0440\u0438\u043c\u0435\u0440\u0443, pyraconv.ToStringArray() \u0432\u0441\u0435\u0433\u0434\u0430 \u0432\u0435\u0440\u043d\u0435\u0442 []string{} \u0432\u043c\u0435\u0441\u0442\u043e nil, pyraconv.ToInt64() \u2014 \u0432\u0441\u0435\u0433\u0434\u0430 \u0432\u0435\u0440\u043d\u0435\u0442 \u043e\u0434\u0438\u043d \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 int64 \u0431\u0435\u0437 \u043e\u0448\u0438\u0431\u043a\u0438, \u0430 \u0437\u043d\u0430\u0447\u0438\u0442 \u043c\u043e\u0436\u043d\u043e \u043d\u0430\u043f\u0438\u0441\u0430\u0442\u044c, int(pyraconv.ToInt64(x))<\/p>\n<p>  \u042f \u043d\u0435 \u043f\u0440\u0435\u0442\u0435\u043d\u0434\u0443\u044e \u043d\u0430 \u0442\u043e, \u0447\u0442\u043e \u0442\u0430\u043a\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c \u0441\u043b\u0435\u0434\u0443\u0435\u0442 \u043f\u0430\u0440\u0441\u0438\u0442\u044c \u043b\u044e\u0431\u043e\u0439 JSON \u0432\u0441\u0435\u0433\u0434\u0430 \u0438 \u0432\u0435\u0437\u0434\u0435, \u043d\u043e \u043d\u0430\u0445\u043e\u0436\u0443 \u044d\u0442\u043e\u0442 \u043a\u043e\u0434 \u0432\u0435\u0441\u044c\u043c\u0430 \u043f\u043e\u043b\u0435\u0437\u043d\u044b\u043c.<\/p>\n<p>  \u0421\u043f\u0438\u0441\u043e\u043a \u0444\u0443\u043d\u043a\u0446\u0438\u0439:<\/p>\n<pre><code class=\"go\">func ToBool(i1 interface{}) bool<\/code><\/pre>\n<p>  ToBool \u043a\u043e\u043d\u0432\u0435\u0440\u0442\u0438\u0440\u0443\u0435\u0442 interface{} \u0432 bool<\/p>\n<pre><code class=\"go\">func ToInt64(i1 interface{}) int64<\/code><\/pre>\n<p>  ToInt64 \u043a\u043e\u043d\u0432\u0435\u0440\u0442\u0438\u0440\u0443\u0435\u0442 interface{} \u0432 int64<\/p>\n<pre><code class=\"go\">func ToInterfaceArray(i1 interface{}) []interface{}<\/code><\/pre>\n<p>  ToInterfaceArray \u043a\u043e\u043d\u0432\u0435\u0440\u0442\u0438\u0440\u0443\u0435\u0442 interface{} \u0432 []interface{} \u0438 \u043d\u0435 \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u0442 nil<\/p>\n<pre><code class=\"go\">func ToInterfaceMap(i1 interface{}) map[string]interface{}<\/code><\/pre>\n<p>  ToInterfaceMap \u043a\u043e\u043d\u0432\u0435\u0440\u0442\u0438\u0440\u0443\u0435\u0442 interface{} \u0432 map[string]interface{} \u0438 \u043d\u0435 \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u0442 nil<\/p>\n<pre><code class=\"go\">func ToString(i1 interface{}) string<\/code><\/pre>\n<p>  ToString \u043a\u043e\u043d\u0432\u0435\u0440\u0442\u0438\u0440\u0443\u0435\u0442 interface{} \u0432 string<\/p>\n<pre><code class=\"go\">func ToStringArray(i1 interface{}) []string<\/code><\/pre>\n<p>  ToStringArray \u043a\u043e\u043d\u0432\u0435\u0440\u0442\u0438\u0440\u0443\u0435\u0442 interface{} \u0432 []string \u0438 \u043d\u0435 \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u0442 nil<\/p>\n<pre><code class=\"go\">func ToStringMap(i1 interface{}) map[string]string<\/code><\/pre>\n<p>  ToStringMap \u043a\u043e\u043d\u0432\u0435\u0440\u0442\u0438\u0440\u0443\u0435\u0442 interface{} \u0432 map[string]string \u0438 \u043d\u0435 \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u0442 nil<\/p>\n<pre><code class=\"go\">func CloneObject(a, b interface{})<\/code><\/pre>\n<p>  CloneObject \u0441\u043e\u0437\u0434\u0430\u0435\u0442 \u043a\u043e\u043f\u0438\u044e \u043e\u0431\u044a\u0435\u043a\u0442\u0430 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044f \u0441\u0435\u0440\u0438\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044e \u0438\u0437 \u043f\u0430\u043a\u0435\u0442\u0430 gob. \u0411\u044b\u0432\u0430\u0435\u0442 \u044d\u0444\u0444\u0435\u043a\u0442\u0438\u0432\u043d\u0435\u0439 \u043f\u0435\u0440\u0435\u0434\u0430\u0442\u044c \u043a\u043e\u043f\u0438\u044e \u043e\u0431\u044a\u0435\u043a\u0442\u0430 \u0432 \u0433\u043e\u0443\u0440\u0443\u0442\u0438\u043d\u0443 \u0434\u043b\u044f \u043f\u0430\u0440\u0430\u043b\u043b\u0435\u043b\u044c\u043d\u043e\u0439 \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u0438, \u0447\u0435\u043c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u043c\u0435\u0445\u0430\u043d\u0438\u0437\u043c \u0431\u043b\u043e\u043a\u0438\u0440\u043e\u0432\u043e\u043a. <\/p>\n<p>  \u041f\u0440\u0438\u043c\u0435\u0440 \u0445\u0435\u043d\u0434\u043b\u0435\u0440\u0430 \u0432\u0435\u0431 \u0441\u0435\u0440\u0432\u0438\u0441\u0430 \u0441 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435\u043c pyraconv \u043f\u0440\u0438 \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u0435 JSON.<\/p>\n<pre><code class=\"go\">func handle_ctrl_channel(w http.ResponseWriter, r *http.Request) { \tif r.Method == &quot;POST&quot; { \t\tb, e := ioutil.ReadAll(r.Body) \t\tif e != nil { \t\t\tfmt.Fprintf(w, `{ &quot;error&quot;: true, &quot;no&quot;:1 }`) \t\t\treturn \t\t} \t\tvar m1 map[string]interface{} \t\te = json.Unmarshal(b, &m1) \t\tif e != nil { \t\t\tfmt.Fprintf(w, `{ &quot;error&quot;: true, &quot;no&quot;:2 }`) \t\t\treturn \t\t} \t\tcmd := m1[&quot;cmd&quot;] \t\tif cmd == &quot;add&quot; { \t\t\tid := pyraconv.ToString(m1[&quot;id&quot;]) \t\t\turl := pyraconv.ToStringArray(m1[&quot;urls&quot;])  \t\t\tservice.UpdateStream(url, id) \t\t\treturn \t\t} \t\tif cmd == &quot;delete&quot; { \t\t\tid := pyraconv.ToString(m1[&quot;id&quot;]) \t\t\tservice.DelStream(id) \t\t\treturn \t\t} \t} } <\/code><\/pre>\n<p>  \u0424\u043e\u0440\u043a\u0430\u0439\u0442\u0435 <a href=\"https:\/\/github.com\/CossackPyra\/pyraconv\">pyraconv<\/a> \u043d\u0430 \u0437\u0434\u043e\u0440\u043e\u0432\u044c\u0435. \u041f\u0440\u0438\u044f\u0442\u043d\u043e\u0433\u043e \u0430\u043f\u043f\u0435\u0442\u0438\u0442\u0430.<\/p>\n<pre><code class=\"bash\">go get github.com\/CossackPyra\/pyraconv <\/code><\/pre>\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\/255043\/\"> http:\/\/habrahabr.ru\/post\/255043\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>     \t\u042f \u0434\u0435\u043b\u044e\u0441\u044c \u043f\u0440\u043e\u0441\u0442\u043e\u0439 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u043e\u0439, \u043a\u043e\u0442\u043e\u0440\u0443\u044e \u044f \u043f\u043e\u0441\u0442\u043e\u044f\u043d\u043d\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e. Go \u0445\u043e\u0440\u043e\u0448\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u0441 JSON, \u043d\u043e \u0447\u0430\u0441\u0442\u043e \u043d\u0435 \u0445\u0432\u0430\u0442\u0430\u0435\u0442 \u043d\u0430\u0431\u043e\u0440\u0430 \u0444\u0443\u043d\u043a\u0446\u0438\u0439 \u0434\u043b\u044f \u043f\u0440\u0438\u0432\u0435\u0434\u0435\u043d\u0438\u044f interface{} \u043a \u043a\u0430\u043a\u043e\u043c\u0443-\u0442\u043e \u0442\u0438\u043f\u0443. \u0414\u0430\u0436\u0435 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0438\u0432 \u043a\u0430\u043d\u043e\u043d\u0438\u0447\u043d\u043e \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0443 \u0434\u043b\u044f \u043c\u0430\u0440\u0448\u0430\u043b\u0438\u043d\u0433\u0430 JSON, \u0441\u043e \u0432\u0440\u0435\u043c\u0435\u043d\u0435\u043c \u043f\u0440\u0438\u0445\u043e\u0434\u0438\u0442\u0441\u044f \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u044f\u0442\u044c \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0435 \u043f\u043e\u043b\u0435, \u043d\u0430\u0437\u0432\u0430\u0432 \u0435\u0433\u043e Extra interface{}. \u0412\u043e\u0442 \u043f\u0440\u0438\u043c\u0435\u0440\u043d\u043e, \u0447\u0442\u043e \u043c\u044b \u0438\u043c\u0435\u0435\u043c \u043d\u0430 \u043f\u0440\u0430\u043a\u0442\u0438\u043a\u0435.  <\/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-254605","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/254605","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=254605"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/254605\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=254605"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=254605"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=254605"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}