{"id":7995,"date":"2017-08-28T07:07:51","date_gmt":"2017-08-28T07:07:51","guid":{"rendered":"http:\/\/bestkora.com\/IosDeveloper\/?p=7995"},"modified":"2017-09-08T09:47:10","modified_gmt":"2017-09-08T09:47:10","slug":"swift-4-parsim-json","status":"publish","type":"post","link":"https:\/\/bestkora.com\/IosDeveloper\/swift-4-parsim-json\/","title":{"rendered":"\u041f\u0430\u0440\u0441\u0438\u043c JSON \u0432 Swift 4 \u043d\u0430 \u043f\u0440\u0438\u043c\u0435\u0440\u0430\u0445."},"content":{"rendered":"<p><a href=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-09-07-at-12.29.00-PM.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft wp-image-8081 size-full\" src=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-09-07-at-12.29.00-PM.png\" alt=\"\" width=\"756\" height=\"432\" srcset=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-09-07-at-12.29.00-PM.png 756w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-09-07-at-12.29.00-PM-300x171.png 300w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-09-07-at-12.29.00-PM-500x286.png 500w\" sizes=\"auto, (max-width: 756px) 100vw, 756px\" \/><\/a><\/p>\n<p><span style=\"font-weight: 400;\">\u0421\u0430\u043c\u0430\u044f \u0437\u0430\u043c\u0435\u0447\u0430\u0442\u0435\u043b\u044c\u043d\u0430\u044f \u0432\u0435\u0449\u044c, \u043a\u043e\u0442\u043e\u0440\u0443\u044e \u043c\u044b \u043f\u043e\u043b\u0443\u0447\u0438\u043b\u0438 \u0432 <strong>Swift 4<\/strong> &#8212; \u044d\u0442\u043e \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b\u00a0<strong><a href=\"https:\/\/developer.apple.com\/documentation\/swift\/codable\">Codable<\/a><\/strong>, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442 \u0441\u043e\u0431\u043e\u0439\u00a0<a href=\"https:\/\/github.com\/apple\/swift\/blob\/ff1e770e6f1df0f6d10ee5962be5f34c37ff3cc7\/stdlib\/public\/core\/Codable.swift#L43\" target=\"_blank\" rel=\"nofollow noopener\" data-href=\"https:\/\/github.com\/apple\/swift\/blob\/ff1e770e6f1df0f6d10ee5962be5f34c37ff3cc7\/stdlib\/public\/core\/Codable.swift#L43\"><strong>typealias<\/strong>\u00a0<\/a>\u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b\u043e\u0432 <strong><a href=\"https:\/\/developer.apple.com\/documentation\/swift\/encodable\" target=\"_blank\" rel=\"noopener nofollow\" data-href=\"https:\/\/developer.apple.com\/documentation\/swift\/encodable\">Encodable<\/a><\/strong> \u0438\u00a0<strong><a href=\"https:\/\/developer.apple.com\/documentation\/swift\/decodable\" target=\"_blank\" rel=\"noopener nofollow\" data-href=\"https:\/\/developer.apple.com\/documentation\/swift\/decodable\">Decodable<\/a><\/strong>, \u0438 \u043a\u043b\u0430\u0441\u0441\u044b <strong><span style=\"color: #0000ff;\">JSONDecode<\/span><\/strong> \u0438 <strong><span style=\"color: #0000ff;\">JSONEncode<\/span><\/strong>. \u0411\u043b\u0430\u0433\u043e\u0434\u0430\u0440\u044f \u044d\u0442\u043e\u043c\u0443 \u0432\u044b \u0442\u0435\u043f\u0435\u0440\u044c \u043c\u043e\u0436\u0435\u0442\u0435 \u043f\u0440\u0435\u043e\u0431\u0440\u0430\u0437\u043e\u0432\u044b\u0432\u0430\u0442\u044c \u043c\u043d\u043e\u0436\u0435\u0441\u0442\u0432\u043e <strong><em>JSON<\/em><\/strong> \u043e\u0431\u044a\u0435\u043a\u0442\u043e\u0432, \u0430 \u0442\u0430\u043a\u0436\u0435 <strong><em>Property Lists<\/em> <\/strong>\u0432 \u044d\u043a\u0432\u0438\u0432\u0430\u043b\u0435\u043d\u0442\u043d\u044b\u0435 \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u044b <strong><span style=\"color: #0000ff;\">Struct<\/span><\/strong> \u0438 \u043a\u043b\u0430\u0441\u0441\u044b <strong><span style=\"color: #0000ff;\">Class<\/span><\/strong> \u0431\u0435\u0437 \u0435\u0434\u0438\u043d\u043e\u0439 \u0441\u0442\u0440\u043e\u043a\u0438 \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0433\u043e \u043a\u043e\u0434\u0430. \u041d\u0430\u043a\u043e\u043d\u0435\u0446-\u0442\u043e <strong>Swift 4<\/strong> \u0438 \u043d\u043e\u0432\u044b\u0439 <span style=\"color: #0000ff;\"><strong>Foundation<\/strong><\/span> \u043e\u0442\u0432\u0435\u0442\u0438\u043b\u0438 \u043d\u0430 \u0432\u043e\u043f\u0440\u043e\u0441, \u043a\u0430\u043a \u043d\u0443\u0436\u043d\u043e \u043f\u0430\u0440\u0441\u0438\u0442\u044c <strong><em>JSON<\/em><\/strong>\u00a0\u0432 <strong>Swift<\/strong>.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">\u041c\u0435\u0436\u0434\u0443 \u043f\u0440\u043e\u0447\u0438\u043c, \u0435\u0441\u043b\u0438 \u0432\u044b \u043d\u0430\u0431\u0435\u0440\u0435\u0442\u0435 \u0434\u043b\u044f \u043f\u043e\u0438\u0441\u043a\u0430 \u0441\u0442\u0440\u043e\u043a\u0443 &#171;swift json library&#187;, \u0442\u043e \u0432\u044b \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u0435 \u0432\u00a0 <strong><a href=\"https:\/\/github.com\/search?q=swift+json+library\">Github<\/a><\/strong> \u043f\u043e\u0440\u044f\u0434\u043a\u0430 75 \u0437\u0430\u043c\u0435\u0447\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u0445 \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0435\u0432. \u041d\u043e \u043d\u043e\u0432\u043e\u0435 &#171;\u0440\u043e\u0434\u043d\u043e\u0435&#187; <strong><a href=\"https:\/\/developer.apple.com\/documentation\/swift\/codable\">Codable<\/a>\u00a0<\/strong>\u0440\u0435\u0448\u0435\u043d\u0438\u0435 Apple <strong>\u00a0\u0432 Swift 4\u00a0<\/strong>\u043f\u0440\u0435\u0432\u043e\u0441\u0445\u043e\u0434\u0438\u0442 \u0438\u0445 \u0432\u0441\u0435. \u0414\u0430\u043b\u0435\u0435 \u0432 \u0441\u0442\u0430\u0442\u044c\u0435 \u044f \u0441\u043e\u0441\u0440\u0435\u0434\u043e\u0442\u043e\u0447\u0443\u0441\u044c \u043d\u0430 <em><strong>JSON<\/strong><\/em>, \u043f\u043e\u0442\u043e\u043c\u0443 \u0447\u0442\u043e \u044d\u0442\u043e \u043d\u0430\u0438\u0431\u043e\u043b\u0435\u0435 \u0437\u043d\u0430\u0447\u0438\u043c\u0430\u044f \u0437\u0430\u0434\u0430\u0447\u0430 \u0434\u043b\u044f \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u043e\u0432, \u0438 \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u044e \u00a0\u043f\u0440\u0438\u043c\u0435\u0440\u044b \u043d\u0430 Playground.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">\u00a0\u041a\u043e\u0434 \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u043d\u0430 <strong><a href=\"https:\/\/github.com\/BestKora\/JSON_Swift_4\">Github<\/a><\/strong>.<\/span><\/p>\n<h1>\u041e\u0441\u043d\u043e\u0432\u044b.<\/h1>\n<p><span style=\"font-weight: 400;\">\u042f \u043d\u0430\u0447\u043d\u0443 \u0441 \u043f\u0440\u0438\u043c\u0435\u0440\u0430, \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u043d\u043e\u0433\u043e \u0432 \u0437\u043d\u0430\u043c\u0435\u043d\u0438\u0442\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0435 \u0421hris Eidhof\u00a0<strong><a href=\"http:\/\/chris.eidhof.nl\/post\/json-parsing-in-swift\/\">&#171;Parsing JSON in Swft&#187;<\/a><\/strong> (\u043f\u0435\u0440\u0435\u0432\u043e\u0434 <strong><a href=\"https:\/\/habrahabr.ru\/post\/246965\/\">\u0437\u0434\u0435\u0441\u044c<\/a><\/strong>) ( 2014 \u0433.), \u0432 \u043a\u043e\u0442\u043e\u0440\u043e\u0439 \u0432\u043f\u0435\u0440\u0432\u044b\u0435 \u0431\u044b\u043b\u0430 \u0441\u0434\u0435\u043b\u0430\u043d\u0430 \u043f\u043e\u043f\u044b\u0442\u043a\u0430 \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f \u0432 <strong>Swift\u00a0<\/strong><em><strong>JSON<\/strong><\/em> \u043f\u0430\u0440\u0441\u0435\u0440\u0430 \u043d\u0430 \u043e\u0441\u043d\u043e\u0432\u0435 \u043f\u043e\u043d\u044f\u0442\u0438\u0439 \u0444\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0430\u043b\u044c\u043d\u043e\u0433\u043e \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f, \u043d\u043e \u044d\u0442\u043e \u0431\u044b\u043b\u043e \u0441\u043b\u043e\u0436\u043d\u043e\u0435 \u0440\u0435\u0448\u0435\u043d\u0438\u0435. \u041f\u043e\u0437\u0436\u0435 Apple \u00a0\u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u0438\u043b\u0430 <strong><a href=\"https:\/\/developer.apple.com\/swift\/blog\/?id=37\">\u0441\u0432\u043e\u0439 \u0441\u043f\u043e\u0441\u043e\u0431 \u043f\u0430\u0440\u0441\u0438\u043d\u0433\u0430 JSON <\/a><\/strong>\u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u043a\u043b\u0430\u0441\u0441\u0430 <strong><span style=\"color: #0000ff;\">JSONSerialization<\/span><\/strong>, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0442\u0430\u043a\u0436\u0435 \u043e\u0442\u043b\u0438\u0447\u0430\u043b\u0441\u044f \u0433\u0440\u043e\u043c\u043e\u0437\u0434\u043a\u043e\u0441\u0442\u044c\u044e.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">\u0421\u0435\u0439\u0447\u0430\u0441 \u043c\u044b \u0443\u0432\u0438\u0434\u0438\u043c, \u043a\u0430\u043a \u0432 <strong>Swift 4<\/strong> \u044d\u0442\u0430 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0430 \u0440\u0435\u0448\u0430\u0435\u0442\u0441\u044f 3 \u0441\u0442\u0440\u043e\u043a\u0430\u043c\u0438 \u043a\u043e\u0434\u0430.<\/span><\/p>\n<p><!--more--><\/p>\n<p><span style=\"font-weight: 400;\">\u0418\u0442\u0430\u043a, \u043d\u0430\u043c \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u043f\u0440\u0435\u0432\u0440\u0430\u0442\u0438\u0442\u044c \u043f\u0440\u0438\u0432\u0435\u0434\u0435\u043d\u043d\u044b\u0439 \u043d\u0438\u0436\u0435 <strong>JSON<\/strong> \u043e\u0431\u044a\u0435\u043a\u0442, \u0441\u043e\u0441\u0442\u043e\u044f\u0449\u0438\u0439 \u0438\u0437 \u0441\u0442\u0440\u043e\u043a \u0438 \u0447\u0438\u0441\u0435\u043b, \u0432 \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0443 \u0434\u0430\u043d\u043d\u044b\u0445 <strong>Swift<\/strong>, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u043c\u043e\u0436\u0435\u0442 \u0441\u043e\u0441\u0442\u043e\u044f\u0442\u044c \u0438\u0437<strong><span style=\"color: #0000ff;\"> Int<\/span><\/strong>, <strong><span style=\"color: #0000ff;\">String<\/span><\/strong>, <strong><span style=\"color: #0000ff;\">Double<\/span><\/strong>, \u00a0\u0440\u0430\u0437\u043b\u0438\u0447\u043d\u044b\u0445 \u043a\u043b\u0430\u0441\u0441\u043e\u0432 <strong><span style=\"color: #0000ff;\">Class<\/span><\/strong>, \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440 <strong><span style=\"color: #0000ff;\">Struct<\/span><\/strong>, \u043c\u0430\u0441\u0441\u0438\u0432\u043e\u0432 <strong><span style=\"color: #0000ff;\">Array<\/span><\/strong>, \u0441\u043b\u043e\u0432\u0430\u0440\u0435\u0439 <strong><span style=\"color: #0000ff;\">Dictionary<\/span><\/strong>, \u0433\u0435\u043e\u0433\u0440\u0430\u0444\u0438\u0447\u0435\u0441\u043a\u0438\u0445 \u043a\u043e\u043e\u0440\u0434\u0438\u043d\u0430\u0442 <strong><span style=\"color: #0000ff;\">CLLocationCoordinate2D<\/span> <\/strong>\u0438 \u0442.\u0434.:<\/span><\/p>\n<p><a href=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-08-28-at-10.13.44-PM.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft wp-image-7999 size-full\" src=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-08-28-at-10.13.44-PM.png\" alt=\"\" width=\"1146\" height=\"744\" srcset=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-08-28-at-10.13.44-PM.png 1146w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-08-28-at-10.13.44-PM-300x195.png 300w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-08-28-at-10.13.44-PM-768x499.png 768w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-08-28-at-10.13.44-PM-1024x665.png 1024w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-08-28-at-10.13.44-PM-462x300.png 462w\" sizes=\"auto, (max-width: 1146px) 100vw, 1146px\" \/><\/a><\/p>\n<p><span style=\"font-weight: 400;\">\u0421\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0430 \u0434\u0430\u043d\u043d\u044b\u0445 \u043d\u0430\u0448\u0435\u0433\u043e <strong>Swift<\/strong> \u043e\u0431\u044a\u0435\u043a\u0442\u0430 <strong><span style=\"color: #0000ff;\">Stat<\/span><\/strong> \u0431\u0443\u0434\u0435\u0442 \u0432 <strong>Swft 4<\/strong>\u00a0\u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u043f\u0440\u043e\u0441\u0442\u043e\u0439:<\/span><\/p>\n<p><a href=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-08-29-at-2.57.55-PM-1.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft wp-image-8015 size-full\" src=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-08-29-at-2.57.55-PM-1.png\" alt=\"\" width=\"1072\" height=\"428\" srcset=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-08-29-at-2.57.55-PM-1.png 1072w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-08-29-at-2.57.55-PM-1-300x120.png 300w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-08-29-at-2.57.55-PM-1-768x307.png 768w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-08-29-at-2.57.55-PM-1-1024x409.png 1024w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-08-29-at-2.57.55-PM-1-500x200.png 500w\" sizes=\"auto, (max-width: 1072px) 100vw, 1072px\" \/><\/a><\/p>\n<p><span style=\"font-weight: 400;\">\u042d\u0442\u043e \u0432\u043b\u043e\u0436\u0435\u043d\u043d\u044b\u0435 \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u044b, \u0438\u043c\u0435\u043d\u0430 \u0441\u0432\u043e\u0439\u0441\u0442\u0432 \u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u0432 \u0442\u043e\u0447\u043d\u043e\u0441\u0442\u0438 \u0441\u043e\u0432\u043f\u0430\u0434\u0430\u044e\u0442 \u0441 \u043a\u043b\u044e\u0447\u0430\u043c\u0438 <strong>JSON<\/strong> \u043e\u0431\u044a\u0435\u043a\u0442\u0430. \u041a\u0440\u043e\u043c\u0435 \u0442\u043e\u0433\u043e, \u0432\u0441\u0435 \u044d\u0442\u0438 \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u044b \u043f\u043e\u0434\u0442\u0432\u0435\u0440\u0436\u0434\u0430\u044e\u0442 \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b <strong><span style=\"color: #0000ff;\">Codable<\/span><\/strong>. \u042d\u0442\u043e \u0432\u0441\u0435, \u0447\u0442\u043e \u043d\u0430\u043c \u043f\u043e\u043d\u0430\u0434\u043e\u0431\u0438\u0442\u044c\u0441\u044f. \u0421\u043e\u0437\u0434\u0430\u0435\u043c \u044d\u043a\u0437\u0435\u043c\u043f\u043b\u044f\u0440 <strong><span style=\"color: #0000ff;\">JSONDecoder<\/span><\/strong> \u0438 \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u043c \u043e\u0431\u044a\u0435\u043a\u0442 <strong><span style=\"color: #0000ff;\">stat<\/span><\/strong>, \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0438\u0439 <strong>JSON<\/strong> \u043e\u0431\u044a\u0435\u043a\u0442\u0443 <strong><span style=\"color: #0000ff;\">inputJSON<\/span><\/strong>:<br \/>\n<a href=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-08-29-at-3.04.51-PM.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft wp-image-8012 size-full\" src=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-08-29-at-3.04.51-PM.png\" alt=\"\" width=\"1054\" height=\"154\" srcset=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-08-29-at-3.04.51-PM.png 1054w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-08-29-at-3.04.51-PM-300x44.png 300w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-08-29-at-3.04.51-PM-768x112.png 768w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-08-29-at-3.04.51-PM-1024x150.png 1024w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-08-29-at-3.04.51-PM-500x73.png 500w\" sizes=\"auto, (max-width: 1054px) 100vw, 1054px\" \/><\/a><\/span><\/p>\n<p><span style=\"font-weight: 400;\">\u0414\u0435\u043b\u0430\u0435\u043c\u00a0<strong><span style=\"color: #0000ff;\">dump<\/span>\u00a0<\/strong>\u043e\u0431\u044a\u0435\u043a\u0442\u0430 <strong><span style=\"color: #0000ff;\">stat<\/span><\/strong>\u00a0\u043d\u0430 \u043a\u043e\u043d\u0441\u043e\u043b\u0438:<a href=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-08-29-at-3.10.02-PM.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft wp-image-8013 size-full\" src=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-08-29-at-3.10.02-PM.png\" alt=\"\" width=\"1064\" height=\"488\" srcset=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-08-29-at-3.10.02-PM.png 1064w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-08-29-at-3.10.02-PM-300x138.png 300w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-08-29-at-3.10.02-PM-768x352.png 768w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-08-29-at-3.10.02-PM-1024x470.png 1024w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-08-29-at-3.10.02-PM-500x229.png 500w\" sizes=\"auto, (max-width: 1064px) 100vw, 1064px\" \/><\/a><\/span><\/p>\n<p><span style=\"font-weight: 400;\">\u0421\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u044b \u043d\u0435\u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u043e \u0434\u043e\u043b\u0436\u043d\u044b \u0431\u044b\u0442\u044c \u0432\u043b\u043e\u0436\u0435\u043d\u043d\u044b\u043c\u0438:<\/span><\/p>\n<p><a href=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-08-30-at-2.40.32-PM.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft wp-image-8016 size-full\" src=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-08-30-at-2.40.32-PM.png\" alt=\"\" width=\"1050\" height=\"474\" srcset=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-08-30-at-2.40.32-PM.png 1050w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-08-30-at-2.40.32-PM-300x135.png 300w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-08-30-at-2.40.32-PM-768x347.png 768w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-08-30-at-2.40.32-PM-1024x462.png 1024w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-08-30-at-2.40.32-PM-500x226.png 500w\" sizes=\"auto, (max-width: 1050px) 100vw, 1050px\" \/><\/a><\/p>\n<p><span style=\"font-weight: 400;\">\u0420\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 \u0431\u0443\u0434\u0435\u0442 \u0442\u043e\u0442 \u0436\u0435.<\/span><\/p>\n<h1>\u041f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u0441\u043a\u0430\u044f \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 \u0438\u043c\u0435\u043d \u043a\u043b\u044e\u0447\u0435\u0439.<\/h1>\n<p><span style=\"font-weight: 400;\">\u041e\u0434\u043d\u0430\u043a\u043e \u0447\u0430\u0449\u0435 \u0432\u0441\u0435\u0433\u043e \u0438\u043c\u0435\u043d\u0430 \u0441\u0432\u043e\u0439\u0441\u0442\u0432 \u0432 <strong>Swift<\/strong> \u043e\u0431\u044a\u0435\u043a\u0442\u0430\u0445 \u043d\u0435 \u0441\u043e\u0432\u043f\u0430\u0434\u0430\u044e\u0442 \u0441 \u043a\u043b\u044e\u0447\u0430\u043c\u0438 <strong>JSON<\/strong> \u043e\u0431\u044a\u0435\u043a\u0442\u043e\u0432, \u043f\u043e\u0442\u043e\u043c\u0443 \u0447\u0442\u043e \u0432 <strong>Swift<\/strong> \u043c\u044b \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c &#171;\u0432\u0435\u0440\u0431\u043b\u044e\u0436\u0438\u0439&#187; \u0441\u0442\u0438\u043b\u044c <strong><a href=\"https:\/\/ru.wikipedia.org\/wiki\/CamelCase\">camelStyle<\/a><\/strong> \u0434\u043b\u044f \u0438\u043c\u0435\u043d \u0441\u0432\u043e\u0439\u0441\u0442\u0432, \u0430 \u0434\u043b\u044f \u0438\u043c\u0435\u043d\u043e\u0432\u0430\u043d\u0438\u044f \u043a\u043b\u044e\u0447\u0435\u0439 <strong>JSON<\/strong> \u043e\u0431\u044a\u0435\u043a\u0442\u0430, \u043a\u0430\u043a \u043f\u0440\u0430\u0432\u0438\u043b\u043e, \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f &#171;\u0437\u043c\u0435\u0438\u043d\u044b\u0439&#187; \u0441\u0442\u0438\u043b\u044c <a href=\"https:\/\/ru.wikipedia.org\/wiki\/Snake_case\"><strong>snake_style<\/strong><\/a>.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">\u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0432 \u043d\u0430\u0448\u0435\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u043c\u044b \u0431\u044b \u0445\u043e\u0442\u0435\u043b\u0438 \u043d\u0430\u0437\u0432\u0430\u0442\u044c \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u043e <strong><span style=\"color: #0000ff;\">needsPassword<\/span><\/strong> \u0432 \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0435 <span style=\"color: #0000ff;\">Blog<\/span>, \u0430 \u043d\u0435\u00a0<strong><span style=\"color: #0000ff;\">needspassword<\/span><\/strong>, \u043a\u0430\u043a \u0432 <strong>JSON<\/strong> \u043e\u0431\u044a\u0435\u043a\u0442\u0435.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">\u0414\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u043c\u044b \u0434\u043e\u043b\u0436\u043d\u044b \u0432\u043c\u0435\u0448\u0430\u0442\u044c\u0441\u044f \u0432 \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044e \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b\u0430 <span style=\"color: #0000ff;\"><strong>Codable<\/strong><\/span>. \u041f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e \u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0442\u043e\u0440 \u0433\u0435\u043d\u0435\u0440\u0438\u0440\u0443\u0435\u0442 \u043f\u0435\u0440\u0435\u0447\u0438\u0441\u043b\u0435\u043d\u0438\u0435 <strong><span style=\"color: #0000ff;\">enum CodingKeys<\/span> <\/strong>\u0434\u043b\u044f \u043e\u0431\u044a\u0435\u043a\u0442\u0430, \u043f\u043e\u0434\u0442\u0432\u0435\u0440\u0436\u0434\u0430\u044e\u0449\u0435\u0433\u043e \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b\u00a0<span style=\"color: #0000ff;\"><strong>Codable<\/strong><\/span>, \u043a\u043b\u044e\u0447\u0438 \u0434\u043b\u044f\u00a0<strong>JSON<\/strong> \u043e\u0431\u044a\u0435\u043a\u0442\u0430 \u0441\u043e\u0432\u043f\u0430\u0434\u0430\u044e\u0449\u0438\u0435 \u0441 \u0438\u043c\u0435\u043d\u0430\u043c\u0438 \u0441\u0432\u043e\u0439\u0441\u0442\u0432. \u0434\u043b\u044f \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u0441\u043a\u043e\u0439 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 \u043c\u044b \u0434\u043e\u043b\u0436\u043d\u044b \u0432\u044b\u043f\u043e\u043b\u043d\u0438\u0442\u044c \u0441\u0432\u043e\u044e \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u0443\u044e \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044e \u043f\u0435\u0440\u0435\u0447\u0438\u0441\u043b\u0435\u043d\u0438\u044f\u00a0<span style=\"color: #0000ff;\"><strong>enum CodingKeys<\/strong><\/span>:<a href=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-08-30-at-3.07.36-PM.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft wp-image-8017 size-full\" src=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-08-30-at-3.07.36-PM.png\" alt=\"\" width=\"1130\" height=\"1252\" srcset=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-08-30-at-3.07.36-PM.png 1130w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-08-30-at-3.07.36-PM-271x300.png 271w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-08-30-at-3.07.36-PM-768x851.png 768w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-08-30-at-3.07.36-PM-924x1024.png 924w\" sizes=\"auto, (max-width: 1130px) 100vw, 1130px\" \/><\/a><\/span><\/p>\n<p><span style=\"font-weight: 400;\">\u041a\u043e\u0434 \u043f\u0430\u0440\u0441\u0438\u043d\u0433\u0430 \u043e\u0441\u0442\u0430\u043d\u0435\u0442\u0441\u044f \u0442\u043e\u0442 \u0436\u0435 \u0441\u0430\u043c\u044b\u0439, \u0430 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 <strong><span style=\"color: #0000ff;\">dump<\/span>\u00a0<\/strong>\u043e\u0431\u044a\u0435\u043a\u0442\u0430<span style=\"color: #0000ff;\"> <strong>stat<\/strong>\u00a0<\/span>\u043d\u0430 \u043a\u043e\u043d\u0441\u043e\u043b\u0438 \u0431\u0443\u0434\u0435\u0442 \u043d\u0435\u043c\u043d\u043e\u0433\u043e \u0434\u0440\u0443\u0433\u0438\u043c:<a href=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-08-30-at-4.37.13-PM.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft wp-image-8019 size-full\" src=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-08-30-at-4.37.13-PM.png\" alt=\"\" width=\"1084\" height=\"510\" srcset=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-08-30-at-4.37.13-PM.png 1084w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-08-30-at-4.37.13-PM-300x141.png 300w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-08-30-at-4.37.13-PM-768x361.png 768w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-08-30-at-4.37.13-PM-1024x482.png 1024w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-08-30-at-4.37.13-PM-500x235.png 500w\" sizes=\"auto, (max-width: 1084px) 100vw, 1084px\" \/><\/a><\/span><\/p>\n<p><span style=\"font-weight: 400;\">\u041c\u044b \u043c\u043e\u0436\u0435\u043c \u043f\u0440\u0435\u0432\u0440\u0430\u0442\u0438\u0442\u044c \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u043d\u044b\u0439\u00a0<strong>Swift\u00a0<\/strong>\u043e\u0431\u044a\u0435\u043a\u0442\u00a0<span style=\"color: #0000ff;\"><strong>stat<\/strong><\/span>\u00a0\u0432 <strong>JSON<\/strong> \u043e\u0431\u044a\u0435\u043a\u0442 (\u043f\u043e \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443 \u0432\u044b\u043f\u043e\u043b\u043d\u0438\u0442\u044c \u043e\u0431\u0440\u0430\u0442\u043d\u0443\u044e \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u044e) \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u044d\u043a\u0437\u0435\u043c\u043f\u043b\u044f\u0440\u0430 <strong><span style=\"color: #0000ff;\">encode<\/span><\/strong> \u043a\u043b\u0430\u0441\u0441\u0430 <strong><span style=\"color: #0000ff;\">JSONEncode<\/span><\/strong>:<\/span><\/p>\n<p><a href=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-08-30-at-4.46.24-PM.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft wp-image-8020 size-full\" src=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-08-30-at-4.46.24-PM.png\" alt=\"\" width=\"1062\" height=\"190\" srcset=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-08-30-at-4.46.24-PM.png 1062w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-08-30-at-4.46.24-PM-300x54.png 300w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-08-30-at-4.46.24-PM-768x137.png 768w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-08-30-at-4.46.24-PM-1024x183.png 1024w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-08-30-at-4.46.24-PM-500x89.png 500w\" sizes=\"auto, (max-width: 1062px) 100vw, 1062px\" \/><\/a><\/p>\n<p><span style=\"font-weight: 400;\">\u0412 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u0435 \u043c\u044b \u043f\u043e\u043b\u0443\u0447\u0438\u043c \u043d\u0430\u0448 \u0438\u0441\u0445\u043e\u0434\u043d\u044b\u0439 <strong>JSON<\/strong>\u00a0\u043e\u0431\u044a\u0435\u043a\u0442. \u0414\u043b\u044f \u0444\u043e\u0440\u043c\u0430\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u043d\u043e\u0433\u043e \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u0430 <strong><span style=\"color: #0000ff;\">json<\/span><\/strong> \u043c\u044b \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b\u0438 \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u043e <strong><span style=\"color: #0000ff;\">.outFormatting<\/span><\/strong> \u044d\u043a\u0437\u0435\u043c\u043f\u043b\u044f\u0440\u0430 <span style=\"color: #0000ff;\"><strong>encode<\/strong><\/span> \u043a\u043b\u0430\u0441\u0441\u0430 <span style=\"color: #0000ff;\"><strong>JSONEncode<\/strong><\/span>\u00a0\u0438 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u043b\u0438 \u0435\u0433\u043e \u0432 <strong><span style=\"color: #0000ff;\">.prettyPrinted<\/span><\/strong>:<\/span><\/p>\n<p><a href=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-08-30-at-4.52.27-PM.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft wp-image-8021 size-full\" src=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-08-30-at-4.52.27-PM.png\" alt=\"\" width=\"1054\" height=\"516\" srcset=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-08-30-at-4.52.27-PM.png 1054w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-08-30-at-4.52.27-PM-300x147.png 300w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-08-30-at-4.52.27-PM-768x376.png 768w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-08-30-at-4.52.27-PM-1024x501.png 1024w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-08-30-at-4.52.27-PM-500x245.png 500w\" sizes=\"auto, (max-width: 1054px) 100vw, 1054px\" \/><\/a><\/p>\n<p><span style=\"font-weight: 400;\"><strong>\u041d\u0435\u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0438\u0435 \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u044b Swift \u043e\u0431\u044a\u0435\u043a\u0442\u0430 \u0438 JSON \u043e\u0431\u044a\u0435\u043a\u0442\u0430<\/strong><\/span><\/p>\n<p><span style=\"font-weight: 400;\">\u0415\u0441\u043b\u0438 \u0432 <strong>JSON<\/strong> \u043e\u0431\u044a\u0435\u043a\u0442\u0435 \u043f\u0440\u0438\u0441\u0443\u0442\u0441\u0442\u0432\u0443\u044e\u0442 \u043d\u0435\u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u044b\u0435 \u043d\u0430\u043c \u043a\u043b\u044e\u0447\u0438 \u0438 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f, \u0442\u043e \u043e\u043d\u0438 \u043d\u0438\u043a\u0430\u043a \u043d\u0435 \u043f\u043e\u0432\u043b\u0438\u044f\u044e\u0442 \u043d\u0430 \u043d\u0430\u0448\u0443 \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0443 Swift \u043e\u0431\u044a\u0435\u043a\u0442\u0430 \u0438 \u043d\u0430 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 \u043f\u0430\u0440\u0441\u0438\u043d\u0433\u0430 &#8212; \u043c\u044b \u043c\u043e\u0436\u0435\u043c \u0432\u043e\u043e\u0431\u0449\u0435 \u0438\u0445 \u043d\u0435 \u0443\u0447\u0438\u0442\u044b\u0432\u0430\u0442\u044c. \u0414\u0430\u0432\u0430\u0439\u0442\u0435 \u0434\u043e\u0431\u0430\u0432\u0438\u043c \u0432 \u043d\u0430\u0448 <strong>JSON<\/strong> \u043e\u0431\u044a\u0435\u043a\u0442 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0445 \u043e\u0431\u044a\u0435\u043a\u0442\u043e\u0432:<\/span><\/p>\n<p><a href=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-08-30-at-5.14.29-PM.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft wp-image-8022 size-full\" src=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-08-30-at-5.14.29-PM.png\" alt=\"\" width=\"1134\" height=\"820\" srcset=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-08-30-at-5.14.29-PM.png 1134w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-08-30-at-5.14.29-PM-300x217.png 300w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-08-30-at-5.14.29-PM-768x555.png 768w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-08-30-at-5.14.29-PM-1024x740.png 1024w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-08-30-at-5.14.29-PM-415x300.png 415w\" sizes=\"auto, (max-width: 1134px) 100vw, 1134px\" \/><\/a><\/p>\n<p><span style=\"font-weight: 400;\">\u041d\u0430\u0448 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 \u043d\u0438\u043a\u0430\u043a \u043d\u0435 \u043f\u043e\u043c\u0435\u043d\u044f\u043b\u0441\u044f, \u0441\u043b\u0435\u0434\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u043d\u043e, \u043d\u0430\u043c \u043d\u0435\u0442 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e\u0441\u0442\u0438 \u0443\u0447\u0438\u0442\u044b\u0432\u0430\u0442\u044c \u0432\u0441\u0435 \u043f\u043e\u043b\u044f \u0432 <strong>JSON\u00a0<\/strong>\u043e\u0431\u044a\u0435\u043a\u0442\u0435. \u0412 \u043d\u0430\u0448\u0435\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u0443 \u043d\u0430\u0441 \u043d\u0435\u0442 \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u0430 <strong><span style=\"color: #0000ff;\">pages<\/span><\/strong> \u0432 \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0435 <strong><span style=\"color: #0000ff;\">Stat<\/span><\/strong>, \u043d\u0435\u0442 \u0441\u0432\u043e\u0439\u0441\u0442\u0432 <strong><span style=\"color: #0000ff;\">email<\/span><\/strong> \u00a0\u0438 <strong><span style=\"color: #0000ff;\">createAt<\/span><\/strong> \u0432 \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0435 <strong><span style=\"color: #0000ff;\">Blog<\/span><\/strong>. \u0420\u0443\u043a\u043e\u0432\u043e\u0434\u0441\u0442\u0432\u0443\u044f\u0441\u044c \u044d\u0442\u0438\u043c \u043c\u044b \u043c\u043e\u0436\u0435\u043c \u0438\u0441\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u0438 \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u043e stat \u0432 \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0435 <strong>Stat<\/strong>, \u0435\u0441\u043b\u0438 \u0446\u0435\u043b\u044c\u044e \u043f\u0430\u0440\u0441\u0438\u043d\u0433\u0430 \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0438\u0437\u0432\u043b\u0435\u0447\u0435\u043d\u0438\u0435 \u043c\u0430\u0441\u0441\u0438\u0432\u0430 \u0431\u043b\u043e\u0433\u043e\u0432 <strong><span style=\"color: #0000ff;\">[Blog]<\/span><\/strong>:<a href=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-08-30-at-7.20.24-PM.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft wp-image-8024 size-full\" src=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-08-30-at-7.20.24-PM.png\" alt=\"\" width=\"1028\" height=\"710\" srcset=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-08-30-at-7.20.24-PM.png 1028w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-08-30-at-7.20.24-PM-300x207.png 300w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-08-30-at-7.20.24-PM-768x530.png 768w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-08-30-at-7.20.24-PM-1024x707.png 1024w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-08-30-at-7.20.24-PM-434x300.png 434w\" sizes=\"auto, (max-width: 1028px) 100vw, 1028px\" \/><\/a><\/span><\/p>\n<p><span style=\"font-weight: 400;\">\u041a\u043e\u0434 \u043f\u0430\u0440\u0441\u0438\u043d\u0433\u0430 \u043e\u0441\u0442\u0430\u043b\u0441\u044f \u0442\u0435\u043c \u0436\u0435 \u0441\u0430\u043c\u044b\u0439 \u0438 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 &#8212;\u00a0\u043e\u0431\u044a\u0435\u043a\u0442\u00a0<span style=\"color: #0000ff;\"><strong>stat<\/strong><\/span>\u00a0&#8212; \u043d\u0435 \u0438\u0437\u043c\u0435\u043d\u0438\u043b\u0441\u044f.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">\u0415\u0441\u043b\u0438 \u043c\u044b \u0445\u043e\u0442\u0438\u043c \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u0430\u00a0<span style=\"color: #0000ff;\"><strong>email<\/strong><\/span> \u00a0\u0438 <span style=\"color: #0000ff;\"><strong>createAt<\/strong><\/span> \u0432 \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0443\u00a0<span style=\"color: #0000ff;\"><strong>Blog<\/strong><\/span>, \u0442\u043e \u044d\u0442\u043e\u00a0\u00a0\u043c\u043e\u0436\u043d\u043e \u0441\u043e\u0432\u0435\u0440\u0448\u0435\u043d\u043d\u043e \u0431\u0435\u0437\u0431\u043e\u043b\u0435\u0437\u043d\u0435\u043d\u043d\u043e \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u043f\u0440\u0430\u043a\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u0431\u0435\u0437 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f \u043a\u043e\u0434\u0430 \u043f\u0430\u0440\u0441\u0438\u043d\u0433\u0430, \u043d\u043e \u043d\u0443\u0436\u043d\u043e \u0443\u0447\u0435\u0441\u0442\u044c, \u0447\u0442\u043e \u044d\u0442\u0438 \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u0430 \u0432\u0441\u0442\u0440\u0435\u0447\u0430\u044e\u0442\u0441\u044f \u043d\u0435 \u0443 \u0432\u0441\u0435\u0445 \u0431\u043b\u043e\u0433\u043e\u0432 <span style=\"color: #0000ff;\"><strong>Blog<\/strong><\/span>, \u0441\u043b\u0435\u0434\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u043d\u043e, \u043e\u043d\u0438 \u0434\u043e\u043b\u0436\u043d\u044b \u0431\u044b\u0442\u044c <strong><span style=\"color: #0000ff;\">Optional<\/span><\/strong>:<\/span><\/p>\n<p><a href=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-08-30-at-7.36.55-PM.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft wp-image-8025 size-full\" src=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-08-30-at-7.36.55-PM.png\" alt=\"\" width=\"1050\" height=\"826\" srcset=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-08-30-at-7.36.55-PM.png 1050w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-08-30-at-7.36.55-PM-300x236.png 300w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-08-30-at-7.36.55-PM-768x604.png 768w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-08-30-at-7.36.55-PM-1024x806.png 1024w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-08-30-at-7.36.55-PM-381x300.png 381w\" sizes=\"auto, (max-width: 1050px) 100vw, 1050px\" \/><\/a><br \/>\n<span style=\"font-weight: 400;\">\u0415\u0441\u043b\u0438 \u043a\u043e\u0434 \u043f\u0430\u0440\u0441\u0438\u043d\u0433\u0430 \u043e\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u043d\u0435\u0438\u0437\u043c\u0435\u043d\u043d\u044b\u043c, \u0442\u043e \u043c\u044b \u043f\u043e\u043b\u0443\u0447\u0438\u043c \u043e\u0448\u0438\u0431\u043a\u0443:<\/span><\/p>\n<p><a href=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-08-30-at-9.06.19-PM.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft wp-image-8029 size-full\" src=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-08-30-at-9.06.19-PM.png\" alt=\"\" width=\"1622\" height=\"592\" srcset=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-08-30-at-9.06.19-PM.png 1622w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-08-30-at-9.06.19-PM-300x109.png 300w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-08-30-at-9.06.19-PM-768x280.png 768w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-08-30-at-9.06.19-PM-1024x374.png 1024w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-08-30-at-9.06.19-PM-500x182.png 500w\" sizes=\"auto, (max-width: 1622px) 100vw, 1622px\" \/><\/a><\/p>\n<p><span style=\"font-weight: 400;\">\u042d\u0442\u0430 \u043e\u0448\u0438\u0431\u043a\u0430 \u0441\u043e\u043e\u0431\u0449\u0430\u0435\u0442, \u0447\u0442\u043e \u043f\u043e \u043a\u043b\u044e\u0447\u0443 <strong><span style=\"color: #0000ff;\">create_at<\/span><\/strong> \u043e\u0436\u0438\u0434\u0430\u043b\u043e\u0441\u044c <strong><span style=\"color: #0000ff;\">Double<\/span><\/strong> \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435, \u00a0\u0430 \u0432\u043c\u0435\u0441\u0442\u043e \u044d\u0442\u043e\u0433\u043e \u043f\u043e\u043b\u0443\u0447\u0438\u043b\u0438 <strong><span style=\"color: #0000ff;\">String\/Data<\/span><\/strong>.<\/span><\/p>\n<h1>\u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 \u0434\u0430\u0442\u044b<\/h1>\n<p><span style=\"font-weight: 400;\">\u0412 <strong>JSON<\/strong> \u043d\u0435\u0442 \u0442\u0438\u043f\u0430 \u0434\u0430\u043d\u043d\u044b\u0445, \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u044f\u044e\u0449\u0435\u0433\u043e \u0434\u0430\u0442\u0443, \u0438 \u043e\u0431\u044b\u0447\u043d\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u0434\u0430\u0442\u044b \u0432 \u0432\u0438\u0434\u0435 \u0441\u0442\u0440\u043e\u043a\u0438 \u0438\u043b\u0438 \u0447\u0438\u0441\u043b\u0430, \u0430 \u043e \u0444\u043e\u0440\u043c\u0430\u0442\u0435 \u0440\u0435\u0430\u043b\u044c\u043d\u043e\u0433\u043e \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u0434\u0430\u0442\u044b \u0434\u043e\u0433\u043e\u0432\u0430\u0440\u0438\u0432\u0430\u0435\u0442\u0441\u044f \u0441\u0435\u0440\u0432\u0435\u0440 \u0438 \u043a\u043b\u0438\u0435\u043d\u0442. \u0427\u0442\u043e \u043a\u0430\u0441\u0430\u0435\u0442\u0441\u044f \u0434\u0430\u0442\u044b, \u0442\u043e \u0447\u0430\u0449\u0435 \u0432\u0441\u0435\u0433\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u0434\u0430\u0442\u044b \u0432 \u0432\u0438\u0434\u0435 \u0441\u0442\u0440\u043e\u043a\u0438 \u0438 <strong><a href=\"https:\/\/en.wikipedia.org\/wiki\/ISO_8601\">ISO 8601<\/a><\/strong> \u0444\u043e\u0440\u043c\u0430\u0442. \u041f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e \u043a\u043b\u0430\u0441\u0441\u044b <strong><span style=\"color: #0000ff;\">JSONDecoder<\/span><\/strong> \u00a0\u0438 <strong><span style=\"color: #0000ff;\">JSONEncode<\/span><\/strong> \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e\u0442 \u043e\u043f\u0446\u0438\u044e <span style=\"color: #0000ff;\"><strong>.deferToDate<\/strong><\/span>, \u0447\u0442\u043e \u043e\u0437\u043d\u0430\u0447\u0430\u0435\u0442 \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u0434\u0430\u0442\u044b \u0432 \u0432\u0438\u0434\u0435 <strong><span style=\"color: #0000ff;\">Double<\/span><\/strong>.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">\u0412 \u043d\u0430\u0448\u0435\u043c <strong>JSON<\/strong> \u043e\u0431\u044a\u0435\u043a\u0442\u0435 \u0434\u0430\u0442\u0430 \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0430 \u0432 \u0432\u0438\u0434\u0435 \u0441\u0442\u0440\u043e\u043a\u0438\u00a0&#171;2017-08-22T12:19:00Z&#187;\u00a0,\u0438 \u043d\u0430\u043c \u043d\u0443\u0436\u043d\u043e \u043d\u0430\u0441\u0442\u0440\u043e\u0438\u0442\u044c \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u043e <span style=\"color: #0000ff;\"><b>dateDecodingStrategy<\/b><\/span>\u00a0\u043d\u0430\u0448\u0435\u0433\u043e <strong><span style=\"color: #0000ff;\">decoder<\/span><\/strong> \u043d\u0430 \u043e\u043f\u0446\u0438\u044e\u00a0<strong><span style=\"color: #0000ff;\">.iso8601<\/span><\/strong>:<\/span><\/p>\n<p><a href=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-08-31-at-7.16.27-AM.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft wp-image-8032 size-full\" src=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-08-31-at-7.16.27-AM.png\" alt=\"\" width=\"1060\" height=\"190\" srcset=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-08-31-at-7.16.27-AM.png 1060w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-08-31-at-7.16.27-AM-300x54.png 300w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-08-31-at-7.16.27-AM-768x138.png 768w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-08-31-at-7.16.27-AM-1024x184.png 1024w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-08-31-at-7.16.27-AM-500x90.png 500w\" sizes=\"auto, (max-width: 1060px) 100vw, 1060px\" \/><\/a><\/p>\n<p><span style=\"font-weight: 400;\">\u0412 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u0435 \u043e\u0448\u0438\u0431\u043a\u0430 \u0438\u0441\u0447\u0435\u0437\u043d\u0435\u0442 \u0438 \u043c\u044b \u043f\u043e\u043b\u0443\u0447\u0438\u043c\u00a0<strong><span style=\"color: #0000ff;\">dump<\/span>\u00a0<\/strong>\u043e\u0431\u044a\u0435\u043a\u0442\u0430 <span style=\"color: #0000ff;\"><strong>stat<\/strong><\/span>\u00a0\u043d\u0430 \u043a\u043e\u043d\u0441\u043e\u043b\u0438:<\/span><\/p>\n<p><a href=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-08-31-at-7.36.04-AM.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft wp-image-8038 size-full\" src=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-08-31-at-7.36.04-AM.png\" alt=\"\" width=\"1048\" height=\"618\" srcset=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-08-31-at-7.36.04-AM.png 1048w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-08-31-at-7.36.04-AM-300x177.png 300w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-08-31-at-7.36.04-AM-768x453.png 768w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-08-31-at-7.36.04-AM-1024x604.png 1024w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-08-31-at-7.36.04-AM-500x295.png 500w\" sizes=\"auto, (max-width: 1048px) 100vw, 1048px\" \/><\/a><\/p>\n<p><span style=\"font-weight: 400;\">\u041c\u044b \u0432\u0438\u0434\u0438\u043c, \u0447\u0442\u043e \u0443 \u043f\u0435\u0440\u0432\u043e\u0433\u043e \u0431\u043b\u043e\u0433\u0430 \u043f\u043e\u044f\u0432\u0438\u043b\u0438\u0441\u044c <strong><span style=\"color: #0000ff;\">Optional<\/span><\/strong> \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u0430 <span style=\"color: #0000ff;\"><strong>email<\/strong><\/span>\u00a0\u0438 <span style=\"color: #0000ff;\"><strong>createAt<\/strong><\/span>\u00a0\u0438 \u0434\u0430\u0442\u0430 \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0430 \u0432 \u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u043e\u043c \u0444\u043e\u0440\u043c\u0430\u0442\u0435, \u0430 \u0443 \u0432\u0442\u043e\u0440\u043e\u0433\u043e \u0431\u043b\u043e\u0433\u0430 \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u0430\u00a0 <span style=\"color: #0000ff;\"><strong>email<\/strong><\/span>\u00a0\u0438 <span style=\"color: #0000ff;\"><strong>createAt<\/strong><\/span>\u00a0\u0440\u0430\u0432\u043d\u044b <strong><span style=\"color: #0000ff;\">nil<\/span><\/strong>.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">\u041a\u0441\u0442\u0430\u0442\u0438, <strong><span style=\"color: #0000ff;\">encode<\/span><\/strong> \u043f\u0440\u0435\u043a\u0440\u0430\u0441\u043d\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u0438 \u0434\u0430\u0435\u0442 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 \u043e\u0431\u0440\u0430\u0442\u043d\u043e\u0433\u043e \u043f\u0440\u0435\u043e\u0431\u0440\u0430\u0437\u043e\u0432\u0430\u043d\u0438\u044f:<\/span><\/p>\n<p><a href=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-08-30-at-8.50.22-PM.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft wp-image-8043 size-full\" src=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-08-30-at-8.50.22-PM.png\" alt=\"\" width=\"1042\" height=\"526\" srcset=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-08-30-at-8.50.22-PM.png 1042w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-08-30-at-8.50.22-PM-300x151.png 300w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-08-30-at-8.50.22-PM-768x388.png 768w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-08-30-at-8.50.22-PM-1024x517.png 1024w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-08-30-at-8.50.22-PM-500x252.png 500w\" sizes=\"auto, (max-width: 1042px) 100vw, 1042px\" \/><\/a><\/p>\n<p><span style=\"font-weight: 400;\">\u0414\u043b\u044f <span style=\"color: #0000ff;\"><strong>encode<\/strong><\/span> \u043c\u044b \u043d\u0435 \u043d\u0430\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u043b\u0438 \u0444\u043e\u0440\u043c\u0430\u0442 \u0434\u0430\u0442\u044b, \u0438 \u00a0\u0444\u043e\u0440\u043c\u0430\u0442 \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u0434\u0430\u0442\u044b \u043e\u0441\u0442\u0430\u043b\u0441\u044f \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u043d\u044b\u043c \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e \u0438 \u0440\u0430\u0432\u043d\u044b\u043c\u00a0<span style=\"color: #0000ff;\"><strong>.deferToDate<\/strong><\/span>, \u0447\u0442\u043e \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u0435\u0442 \u0447\u0438\u0441\u043b\u043e\u0432\u043e\u043c\u0443 \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0438\u044e \u0434\u0430\u0442\u044b.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">\u0414\u0430\u0432\u0430\u0439\u0442\u0435 \u043f\u043e\u043c\u0435\u043d\u044f\u0435\u043c \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u043e\u00a0<span style=\"color: #0000ff;\"><b>dateEncodingStrategy<\/b><\/span>\u00a0\u00a0\u043d\u0430\u0448\u0435\u0433\u043e <strong><span style=\"color: #0000ff;\">encoder<\/span><\/strong> \u043d\u0430 \u043e\u043f\u0446\u0438\u044e\u00a0<span style=\"color: #0000ff;\"><strong>.iso8601<\/strong><\/span>:<\/span><\/p>\n<p><a href=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-08-31-at-7.28.29-AM.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft wp-image-8034 size-full\" src=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-08-31-at-7.28.29-AM.png\" alt=\"\" width=\"1050\" height=\"214\" srcset=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-08-31-at-7.28.29-AM.png 1050w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-08-31-at-7.28.29-AM-300x61.png 300w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-08-31-at-7.28.29-AM-768x157.png 768w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-08-31-at-7.28.29-AM-1024x209.png 1024w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-08-31-at-7.28.29-AM-500x102.png 500w\" sizes=\"auto, (max-width: 1050px) 100vw, 1050px\" \/><\/a><\/p>\n<p><span style=\"font-weight: 400;\">\u0412 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u0435 \u043f\u043e\u043b\u0443\u0447\u0438\u043c \u043d\u0443\u0436\u043d\u044b\u0439 \u043d\u0430\u043c \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442:<\/span><\/p>\n<p><a href=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-08-31-at-7.39.26-AM.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft wp-image-8039 size-full\" src=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-08-31-at-7.39.26-AM.png\" alt=\"\" width=\"1046\" height=\"536\" srcset=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-08-31-at-7.39.26-AM.png 1046w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-08-31-at-7.39.26-AM-300x154.png 300w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-08-31-at-7.39.26-AM-768x394.png 768w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-08-31-at-7.39.26-AM-1024x525.png 1024w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-08-31-at-7.39.26-AM-500x256.png 500w\" sizes=\"auto, (max-width: 1046px) 100vw, 1046px\" \/><\/a><\/p>\n<p><span style=\"font-weight: 400;\">\u0412\u043e\u0437\u043c\u043e\u0436\u043d\u044b \u0438 \u0434\u0440\u0443\u0433\u0438\u0435 \u043e\u043f\u0446\u0438\u0438 \u0434\u043b\u044f \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u0434\u0430\u0442\u044b:<\/span><\/p>\n<p><span style=\"font-weight: 400;\"><code><strong><span style=\"color: #0000ff;\">.formatted(DateFormatter)<\/span><\/strong><\/code>\u00a0\u2013 \u0432\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0441\u0432\u043e\u0439 \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0439 \u00a0 \u044d\u043a\u0437\u0435\u043c\u043f\u043b\u044f\u0440 \u043a\u043b\u0430\u0441\u0441\u0430 <strong><span style=\"color: #0000ff;\">DateFormatter<\/span><\/strong>.<\/span><\/p>\n<p><span style=\"font-weight: 400;\"><code><strong><span style=\"color: #0000ff;\">.custom( (Date, Encoder) throws -&gt; Void )<\/span><\/strong><\/code>\u00a0\u2013 \u0434\u043b\u044f \u0441\u043b\u0443\u0447\u0430\u044f \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0433\u043e \u043e\u0447\u0435\u043d\u044c \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u0441\u043a\u043e\u0433\u043e \u0432\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0437\u0430\u043c\u044b\u043a\u0430\u043d\u0438\u0435.<\/span><\/p>\n<p><span style=\"font-weight: 400;\"><code><strong><span style=\"color: #0000ff;\">.millisecondsSince1970<\/span><\/strong><\/code>\u00a0and\u00a0<code><strong><span style=\"color: #0000ff;\">.secondsSince1970<\/span><\/strong><\/code>\u00a0&#8212; \u043d\u0435 \u0440\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u0443\u0442\u0441\u044f \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c, \u0442\u0430\u043a \u043a\u0430\u043a \u0434\u0430\u043d\u043d\u044b\u0435 \u043e \u0437\u043e\u043d\u0435 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044f \u0432\u0440\u0435\u043c\u0435\u043d\u0438 \u043e\u0442\u0441\u0443\u0442\u0441\u0442\u0432\u0443\u044e\u0442 \u0438 \u043c\u043e\u0433\u0443\u0442 \u0432\u0432\u0435\u0441\u0442\u0438 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f \u0432 \u0437\u0430\u0431\u043b\u0443\u0436\u0434\u0435\u043d\u0438\u0435.<\/span><\/p>\n<h1>\u041c\u0430\u0441\u0441\u0438\u0432\u044b Array \u00a0\u0438 \u0441\u043b\u043e\u0432\u0430\u0440\u0438 Dictionary<\/h1>\n<p><span style=\"font-weight: 400;\">\u0414\u043e\u043f\u0443\u0441\u0442\u0438\u043c, \u0447\u0442\u043e \u0432 \u043d\u0430\u0448\u0435\u043c <strong>JSON<\/strong> \u043e\u0431\u044a\u0435\u043a\u0442\u0435 \u043f\u043e\u0447\u0442\u0430 \u0431\u043b\u043e\u0433\u0430 <strong><span style=\"color: #0000ff;\">email<\/span><\/strong> \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0430 \u043c\u0430\u0441\u0441\u0438\u0432\u043e\u043c:<\/span><\/p>\n<p><a href=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-08-31-at-9.25.17-AM.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft wp-image-8041 size-full\" src=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-08-31-at-9.25.17-AM.png\" alt=\"\" width=\"1132\" height=\"960\" srcset=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-08-31-at-9.25.17-AM.png 1132w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-08-31-at-9.25.17-AM-300x254.png 300w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-08-31-at-9.25.17-AM-768x651.png 768w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-08-31-at-9.25.17-AM-1024x868.png 1024w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-08-31-at-9.25.17-AM-354x300.png 354w\" sizes=\"auto, (max-width: 1132px) 100vw, 1132px\" \/><\/a><\/p>\n<p><span style=\"font-weight: 400;\">\u0412 \u044d\u0442\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u043d\u0430\u043c \u043d\u0443\u0436\u043d\u043e \u043b\u0438\u0448\u044c \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u043e <span style=\"color: #0000ff;\"><strong>email<\/strong><\/span>\u00a0\u043d\u0435 <strong><span style=\"color: #0000ff;\">Optional<\/span><\/strong> \u0441\u0442\u0440\u043e\u043a\u043e\u0439, \u0430 <strong><span style=\"color: #0000ff;\">Optional<\/span><\/strong> \u043c\u0430\u0441\u0441\u0438\u0432\u043e\u043c \u0441\u0442\u0440\u043e\u043a:<\/span><\/p>\n<p><a href=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-08-31-at-9.35.36-AM.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft wp-image-8042 size-full\" src=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-08-31-at-9.35.36-AM.png\" alt=\"\" width=\"1046\" height=\"828\" srcset=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-08-31-at-9.35.36-AM.png 1046w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-08-31-at-9.35.36-AM-300x237.png 300w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-08-31-at-9.35.36-AM-768x608.png 768w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-08-31-at-9.35.36-AM-1024x811.png 1024w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-08-31-at-9.35.36-AM-379x300.png 379w\" sizes=\"auto, (max-width: 1046px) 100vw, 1046px\" \/><\/a><\/p>\n<p><span style=\"font-weight: 400;\">\u0438 \u043c\u044b \u043f\u043e\u043b\u0443\u0447\u0438\u043c \u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u044b\u0439 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 \u0434\u043b\u044f <strong><span style=\"color: #0000ff;\">decode<\/span><\/strong>:<\/span><\/p>\n<p><a href=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-08-31-at-10.02.33-AM.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft wp-image-8044 size-full\" src=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-08-31-at-10.02.33-AM.png\" alt=\"\" width=\"1048\" height=\"676\" srcset=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-08-31-at-10.02.33-AM.png 1048w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-08-31-at-10.02.33-AM-300x194.png 300w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-08-31-at-10.02.33-AM-768x495.png 768w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-08-31-at-10.02.33-AM-1024x661.png 1024w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-08-31-at-10.02.33-AM-465x300.png 465w\" sizes=\"auto, (max-width: 1048px) 100vw, 1048px\" \/><\/a><\/p>\n<p><span style=\"font-weight: 400;\">\u0438 \u0434\u043b\u044f <strong><span style=\"color: #0000ff;\">encode<\/span><\/strong>:<\/span><\/p>\n<p><a href=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-08-31-at-10.06.18-AM.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft wp-image-8045 size-full\" src=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-08-31-at-10.06.18-AM.png\" alt=\"\" width=\"1054\" height=\"612\" srcset=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-08-31-at-10.06.18-AM.png 1054w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-08-31-at-10.06.18-AM-300x174.png 300w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-08-31-at-10.06.18-AM-768x446.png 768w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-08-31-at-10.06.18-AM-1024x595.png 1024w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-08-31-at-10.06.18-AM-500x290.png 500w\" sizes=\"auto, (max-width: 1054px) 100vw, 1054px\" \/><\/a><\/p>\n<p><span style=\"font-weight: 400;\">\u0415\u0441\u043b\u0438 \u0432 <strong>JSON<\/strong> \u043e\u0431\u044a\u0435\u043a\u0442\u0435 \u043f\u043e\u0447\u0442\u0430 <span style=\"color: #0000ff;\"><strong>email<\/strong><\/span>\u00a0\u043c\u0430\u0440\u043a\u0438\u0440\u0443\u0435\u0442\u0441\u044f \u0441\u0432\u043e\u0438\u043c \u043c\u0435\u0441\u0442\u043e\u043f\u043e\u043b\u043e\u0436\u0435\u043d\u0438\u0435\u043c \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u0441\u043b\u043e\u0432\u0430\u0440\u044f :<\/span><\/p>\n<p><a href=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-08-31-at-2.47.35-PM.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft wp-image-8050 size-full\" src=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-08-31-at-2.47.35-PM.png\" alt=\"\" width=\"1134\" height=\"968\" srcset=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-08-31-at-2.47.35-PM.png 1134w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-08-31-at-2.47.35-PM-300x256.png 300w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-08-31-at-2.47.35-PM-768x656.png 768w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-08-31-at-2.47.35-PM-1024x874.png 1024w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-08-31-at-2.47.35-PM-351x300.png 351w\" sizes=\"auto, (max-width: 1134px) 100vw, 1134px\" \/><\/a><\/p>\n<p><span style=\"font-weight: 400;\">\u0442\u043e \u043f\u0440\u0438\u0434\u0435\u0442\u0441\u044f \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u043d\u0435<strong><span style=\"color: #0000ff;\"> Optional<\/span><\/strong> \u043c\u0430\u0441\u0441\u0438\u0432, \u0430 <strong><span style=\"color: #0000ff;\">Optional<\/span> <\/strong>\u043c\u0430\u0441\u0441\u0438\u0432 \u0441\u043b\u043e\u0432\u0430\u0440\u0435\u0439:<\/span><\/p>\n<p><a href=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-08-31-at-2.54.33-PM.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft wp-image-8051 size-full\" src=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-08-31-at-2.54.33-PM.png\" alt=\"\" width=\"1060\" height=\"836\" srcset=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-08-31-at-2.54.33-PM.png 1060w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-08-31-at-2.54.33-PM-300x237.png 300w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-08-31-at-2.54.33-PM-768x606.png 768w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-08-31-at-2.54.33-PM-1024x808.png 1024w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-08-31-at-2.54.33-PM-380x300.png 380w\" sizes=\"auto, (max-width: 1060px) 100vw, 1060px\" \/><\/a><\/p>\n<p><span style=\"font-weight: 400;\">\u0438 \u0432 \u044d\u0442\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u043c\u044b \u043f\u043e\u043b\u0443\u0447\u0438\u043c \u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u044b\u0435 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u044b \u043f\u0430\u0440\u0441\u0438\u043d\u0433\u0430 \u00a0\u0434\u043b\u044f <strong><span style=\"color: #0000ff;\">decode<\/span><\/strong>:<\/span><\/p>\n<p><a href=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-08-31-at-3.04.04-PM.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft wp-image-8053 size-full\" src=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-08-31-at-3.04.04-PM.png\" alt=\"\" width=\"1304\" height=\"842\" srcset=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-08-31-at-3.04.04-PM.png 1304w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-08-31-at-3.04.04-PM-300x194.png 300w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-08-31-at-3.04.04-PM-768x496.png 768w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-08-31-at-3.04.04-PM-1024x661.png 1024w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-08-31-at-3.04.04-PM-465x300.png 465w\" sizes=\"auto, (max-width: 1304px) 100vw, 1304px\" \/><\/a><\/p>\n<p><span style=\"font-weight: 400;\">\u0438 <strong><span style=\"color: #0000ff;\">encode<\/span><\/strong>:<\/span><\/p>\n<p><a href=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-08-31-at-3.10.41-PM.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft wp-image-8054 size-full\" src=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-08-31-at-3.10.41-PM.png\" alt=\"\" width=\"1054\" height=\"712\" srcset=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-08-31-at-3.10.41-PM.png 1054w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-08-31-at-3.10.41-PM-300x203.png 300w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-08-31-at-3.10.41-PM-768x519.png 768w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-08-31-at-3.10.41-PM-1024x692.png 1024w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-08-31-at-3.10.41-PM-444x300.png 444w\" sizes=\"auto, (max-width: 1054px) 100vw, 1054px\" \/><\/a><\/p>\n<p><span style=\"font-weight: 400;\">\u0414\u043e \u0441\u0438\u0445 \u043f\u043e\u0440 \u043c\u044b \u043f\u0435\u0440\u0435\u0438\u043c\u0435\u043d\u043e\u0432\u044b\u0432\u0430\u043b\u0438 \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u0430, \u043c\u0435\u043d\u044f\u043b\u0438 \u0441\u043f\u043e\u0441\u043e\u0431 \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u0434\u0430\u0442, \u043f\u0440\u043e\u043f\u0443\u0441\u043a\u0430\u043b\u0438 \u043d\u0435\u043d\u0443\u0436\u043d\u044b\u0435 \u043d\u0430\u043c \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u0430 \u0432 <strong>JSON<\/strong> \u043e\u0431\u044a\u0435\u043a\u0442\u0430\u0445, \u043d\u043e \u0438\u0435\u0440\u0430\u0440\u0445\u0438\u044f\u00a0<strong>Swift<\/strong> \u043e\u0431\u044a\u0435\u043a\u0442\u043e\u0432 \u043f\u043e\u043b\u043d\u043e\u0441\u0442\u044c\u044e \u043e\u0442\u0440\u0430\u0436\u0430\u043b\u0430 \u0438\u0435\u0440\u0430\u0440\u0445\u0438\u044e <strong>JSON<\/strong> \u043e\u0431\u044a\u0435\u043a\u0442\u043e\u0432, \u0438 \u043f\u0430\u0440\u0441\u0438\u043d\u0433 \u0434\u0430\u0432\u0430\u043b\u0441\u044f \u043d\u0430\u043c \u043b\u0435\u0433\u043a\u043e &#8212; 3-5 \u0441\u0442\u0440\u043e\u043a \u043a\u043e\u0434\u0430.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">\u0410 \u0447\u0442\u043e \u0435\u0441\u043b\u0438 \u043d\u0430\u043c \u043d\u0435 \u043d\u0443\u0436\u043d\u0430 \u0442\u043e\u043f\u043e\u0432\u0430\u044f \u0447\u0430\u0441\u0442\u044c <strong>JSON<\/strong>, \u0438 \u043c\u044b \u0445\u043e\u0442\u0438\u043c \u043f\u043e\u0441\u0442\u0440\u043e\u0438\u0442\u044c \u0442\u043e\u043b\u044c\u043a\u043e \u043d\u0443\u0436\u043d\u044b\u0439 \u043d\u0430\u043c \u043c\u0430\u0441\u0441\u0438\u0432 \u0431\u043b\u043e\u0433\u043e\u0432 <strong><span style=\"color: #0000ff;\">blog<\/span><\/strong> \u0432 \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0435 <strong><span style=\"color: #0000ff;\">Blogs<\/span><\/strong>.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">\u0412 \u044d\u0442\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u043d\u0430\u043c \u043f\u0440\u0438\u0434\u0435\u0442\u0441\u044f \u0440\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u0442\u044c \u0441\u0432\u043e\u0439 \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0439 \u0438\u043d\u0438\u0446\u0438\u0430\u043b\u0438\u0437\u0430\u0442\u043e\u0440 <strong><span style=\"color: #0000ff;\">init (from decoder: Decoder).<\/span><\/strong><\/span><\/p>\n<p><span style=\"font-weight: 400;\"><strong>\u00a0\u0420\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044f \u0438\u043d\u0438\u0446\u0438\u0430\u043b\u0438\u0437\u0430\u0442\u043e\u0440\u0430 <span style=\"color: #0000ff;\">init (from decoder: Decoder)<\/span><\/strong><\/span><\/p>\n<p><span style=\"font-weight: 400;\">\u041f\u0440\u0435\u0436\u0434\u0435, \u0447\u0435\u043c \u043c\u044b \u043f\u0440\u0438\u0441\u0442\u0443\u043f\u0438\u043c \u043a \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 \u0438\u043d\u0438\u0446\u0438\u0430\u043b\u0438\u0437\u0430\u0442\u043e\u0440\u0430, \u0434\u0430\u0432\u0430\u0439\u0442\u0435 \u0440\u0430\u0441\u0441\u043c\u043e\u0442\u0440\u0438\u043c \u043e\u0441\u043d\u043e\u0432\u043d\u044b\u0445 \u0438\u0433\u0440\u043e\u043a\u043e\u0432, \u0438 \u043d\u0430\u0447\u043d\u0435\u043c \u0441\u00a0<strong><span style=\"color: #0000ff;\">Decoder<\/span><\/strong>.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">\u042d\u0442\u043e \u043a\u043e\u043d\u0442\u0435\u0439\u043d\u0435\u0440\u044b:<\/span><\/p>\n<ul>\n<li><span style=\"font-weight: 400;\"><strong>Keyed Container<\/strong>\u00a0\u2013 \u043e\u0431\u0435\u0441\u043f\u0435\u0447\u0438\u0432\u0430\u0435\u0442 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f\u043c\u0438 \u043f\u043e \u043a\u043b\u044e\u0447\u0430\u043c. \u042d\u0442\u043e \u043f\u043e \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443 \u0441\u043b\u043e\u0432\u0430\u0440\u044c.<\/span><\/li>\n<li><span style=\"font-weight: 400;\"><strong>Unkeyed Container<\/strong>\u00a0\u2013 \u043e\u0431\u0435\u0441\u043f\u0435\u0447\u0438\u0432\u0430\u0435\u0442 \u0443\u043f\u043e\u0440\u044f\u0434\u043e\u0447\u0435\u043d\u043d\u044b\u043c\u0438 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f\u043c\u0438 \u0431\u0435\u0437 \u043a\u043b\u044e\u0447\u0435\u0439. \u042d\u0442\u043e \u043e\u0437\u043d\u0430\u0447\u0430\u0435\u0442 \u043c\u0430\u0441\u0441\u0438\u0432.<\/span><\/li>\n<li><span style=\"font-weight: 400;\"><strong>Single Value Container<\/strong>\u00a0\u2013 \u0432\u044b\u0434\u0430\u0435\u0442 &#171;\u0441\u044b\u0440\u044b\u0435&#187; \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f \u0431\u0435\u0437 \u043a\u0430\u043a\u0438\u0445-\u043b\u0438\u0431\u043e \u043a\u043e\u043d\u0442\u0435\u0439\u043d\u0435\u0440\u043d\u044b\u0445 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u043e\u0432.<\/span><\/li>\n<\/ul>\n<p><span style=\"font-weight: 400;\">\u041f\u043e\u0441\u043c\u043e\u0442\u0440\u0438\u043c \u043d\u0430 \u0442\u0438\u043f\u043e\u0432\u0443\u044e \u0447\u0430\u0441\u0442\u044c \u043d\u0430\u0448\u0435\u0433\u043e\u00a0<strong>JSON<\/strong> \u043e\u0431\u044a\u0435\u043a\u0442\u0430 \u0441 \u0442\u043e\u0447\u043a\u0438 \u0437\u0440\u0435\u043d\u0438\u044f \u044d\u0442\u0438\u0445 \u043a\u043e\u043d\u0442\u0435\u0439\u043d\u0435\u0440\u043e\u0432:<\/span><\/p>\n<p><a href=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-09-03-at-6.46.39-PM.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft wp-image-8061 size-full\" src=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-09-03-at-6.46.39-PM.png\" alt=\"\" width=\"1260\" height=\"1026\" srcset=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-09-03-at-6.46.39-PM.png 1260w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-09-03-at-6.46.39-PM-300x244.png 300w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-09-03-at-6.46.39-PM-768x625.png 768w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-09-03-at-6.46.39-PM-1024x834.png 1024w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-09-03-at-6.46.39-PM-368x300.png 368w\" sizes=\"auto, (max-width: 1260px) 100vw, 1260px\" \/><\/a><\/p>\n<p><span style=\"font-weight: 400;\">\u042d\u043a\u0437\u0435\u043c\u043f\u043b\u044f\u0440\u044b \u043a\u043b\u0430\u0441\u0441\u043e\u0432 <span style=\"color: #0000ff;\"><strong>JSONDecoder<\/strong><\/span> \u0438 <span style=\"color: #0000ff;\"><strong>JSONEncoder<\/strong><\/span>\u00a0\u0438\u043c\u0435\u044e\u0442 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0438\u0435 <strong>API<\/strong> \u0434\u043b\u044f \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u044f \u043a\u043e\u043d\u0442\u0435\u0439\u043d\u0435\u0440\u043e\u0432. \u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0442\u043e\u043f\u043e\u0432\u044b\u0439 \u043a\u043e\u043d\u0442\u0435\u0439\u043d\u0435\u0440 <strong>Keyed Container<\/strong>\u00a0\u043c\u044b \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u043c \u0443 <strong><span style=\"color: #0000ff;\">decoder<\/span> <\/strong>\u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u043c\u0435\u0442\u043e\u0434\u0430:<\/span><\/p>\n<p style=\"padding-left: 30px;\"><strong><span style=\"color: #0000ff;\">\u00a0let container = try decoder.container(keyedBy: CodingKeys.self)<\/span><\/strong><\/p>\n<p><span style=\"font-weight: 400;\">\u0410\u0440\u0433\u0443\u043c\u0435\u043d\u0442\u043e\u043c \u044d\u0442\u043e\u0433\u043e \u043c\u0435\u0442\u043e\u0434\u0430 \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u043f\u0435\u0440\u0435\u0447\u0438\u0441\u043b\u0435\u043d\u0438\u0435 \u0441 \u043a\u043b\u044e\u0447\u0430\u043c\u0438 <strong><span style=\"color: #0000ff;\">keyedBy<\/span><\/strong> \u044d\u0442\u043e\u0433\u043e \u043a\u043e\u043d\u0442\u0435\u0439\u043d\u0435\u0440\u0430. \u0422\u0430\u043a \u043a\u0430\u043a \u043c\u044b \u0440\u0435\u0448\u0438\u043b\u0438 \u0443\u0431\u0440\u0430\u0442\u044c \u0438\u0437 \u041c\u043e\u0434\u0435\u043b\u0438 \u0434\u0432\u0430 \u0442\u043e\u043f\u043e\u0432\u044b\u0445 \u043a\u043e\u043d\u0442\u0435\u0439\u043d\u0435\u0440\u0430, \u0442\u043e \u043d\u0430\u043c \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0441\u0430\u043c\u0438\u043c \u0441\u043e\u0437\u0434\u0430\u0442\u044c \u043f\u0435\u0440\u0435\u0447\u0438\u0441\u043b\u0435\u043d\u0438\u0435 <strong><span style=\"color: #0000ff;\">enum<\/span> <span style=\"color: #0000ff;\">TopCodingKeys<\/span><\/strong>:<\/span><\/p>\n<p><a href=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-09-03-at-7.18.42-PM.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft wp-image-8062 size-full\" src=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-09-03-at-7.18.42-PM.png\" alt=\"\" width=\"1044\" height=\"244\" srcset=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-09-03-at-7.18.42-PM.png 1044w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-09-03-at-7.18.42-PM-300x70.png 300w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-09-03-at-7.18.42-PM-768x179.png 768w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-09-03-at-7.18.42-PM-1024x239.png 1024w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-09-03-at-7.18.42-PM-500x117.png 500w\" sizes=\"auto, (max-width: 1044px) 100vw, 1044px\" \/><\/a><\/p>\n<p><span style=\"font-weight: 400;\">\u0414\u043b\u044f \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u044b <strong><span style=\"color: #0000ff;\">Blogs<\/span><\/strong> \u0441\u043e\u0437\u0434\u0430\u0435\u043c \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u0435 <strong><span style=\"color: #0000ff;\">extension<\/span><\/strong>, \u0432 \u043a\u043e\u0442\u043e\u0440\u043e\u043c \u0440\u0430\u0437\u043c\u0435\u0449\u0430\u0435\u043c \u043c\u0435\u0442\u043e\u0434 <span style=\"color: #0000ff;\"><strong> init (from decoder: Decoder)<\/strong><\/span>:<\/span><\/p>\n<p><a href=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-09-03-at-7.47.43-PM.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft wp-image-8064 size-full\" src=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-09-03-at-7.47.43-PM.png\" alt=\"\" width=\"1288\" height=\"1094\" srcset=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-09-03-at-7.47.43-PM.png 1288w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-09-03-at-7.47.43-PM-300x255.png 300w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-09-03-at-7.47.43-PM-768x652.png 768w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-09-03-at-7.47.43-PM-1024x870.png 1024w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-09-03-at-7.47.43-PM-353x300.png 353w\" sizes=\"auto, (max-width: 1288px) 100vw, 1288px\" \/><\/a><\/p>\n<p><span style=\"font-weight: 400;\">\u0415\u0441\u0442\u044c, \u043f\u043e \u043a\u0440\u0430\u0439\u043d\u0435\u0439 \u043c\u0435\u0440\u0435, \u0442\u0440\u0438 \u00a0\u0441\u043f\u043e\u0441\u043e\u0431\u0430 \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u044f \u043c\u0430\u0441\u0441\u0438\u0432\u0430 \u0431\u043b\u043e\u0433\u043e\u0432 <strong><span style=\"color: #0000ff;\">[Blog<\/span><\/strong>], \u043d\u043e \u0432 \u043b\u044e\u0431\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u043c\u044b \u0434\u043e\u043b\u0436\u043d\u044b \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0441\u0430\u043c\u044b\u0439 \u0442\u043e\u043f\u043e\u0432\u044b\u0439 \u043a\u043e\u043d\u0442\u0435\u0439\u043d\u0435\u0440<strong><span style=\"color: #0000ff;\"> container<\/span><\/strong> \u0438 \u0443\u043a\u0430\u0437\u0430\u0442\u044c \u0434\u043b\u044f \u043d\u0435\u0433\u043e \u043a\u043b\u044e\u0447\u0438 <strong><span style=\"color: #0000ff;\">TopCodingKeys.self<\/span><\/strong>.<\/span><\/p>\n<p style=\"padding-left: 30px;\"><strong><span style=\"color: #0000ff;\">\u00a0let container = try decoder.container(keyedBy: TopCodingKeys.self)<\/span><\/strong><\/p>\n<p>\u0414\u0430\u043b\u0435\u0435 \u043c\u044b \u0440\u0430\u0441\u0441\u043c\u043e\u0442\u0440\u0438\u043c 3 \u0441\u043f\u043e\u0441\u043e\u0431\u0430 \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u044f\u00a0\u043c\u0430\u0441\u0441\u0438\u0432\u0430 \u0431\u043b\u043e\u0433\u043e\u0432 <strong><span style=\"color: #0000ff;\">[Blog]<\/span><\/strong>, \u0441\u043a\u043e\u043b\u044c\u0437\u044f \u0432\u0441\u0435 \u043d\u0438\u0436\u0435 \u0438 \u043d\u0438\u0436\u0435 \u043f\u043e \u0438\u0435\u0440\u0430\u0440\u0445\u0438\u0438 \u043e\u0431\u044a\u0435\u043a\u0442\u0430 <strong>JSON<\/strong>. \u0418 \u0442\u0435\u043c \u0441\u0430\u043c\u044b\u043c \u043f\u0440\u043e\u0434\u0435\u043c\u043e\u043d\u0441\u0442\u0440\u0438\u0440\u0443\u0435\u043c \u0433\u0438\u0431\u043a\u043e\u0441\u0442\u044c <strong>API<\/strong> \u00a0\u043a\u043b\u0430\u0441\u0441\u0430 <strong><span style=\"color: #0000ff;\">JSONDecoder<\/span><\/strong>.<\/p>\n<p><span style=\"font-weight: 400;\"><em><strong>\u041f\u0435\u0440\u0432\u044b\u0439<\/strong> <\/em>\u0441\u043f\u043e\u0441\u043e\u0431 \u0441\u043e\u0441\u0442\u043e\u0438\u0442 \u0432 \u0438\u0437\u0432\u043b\u0435\u0447\u0435\u043d\u0438\u0438\u00a0\u0441\u043b\u043e\u0432\u0430\u0440\u044f <strong><span style=\"color: #0000ff;\">[String:[Blog]]<\/span><\/strong> \u0434\u043b\u044f \u043a\u043b\u044e\u0447\u0430<strong><span style=\"color: #0000ff;\"> .blogs<\/span><\/strong> \u0438\u0437 \u043e\u0441\u043d\u043e\u0432\u043d\u043e\u0433\u043e \u043a\u043e\u043d\u0442\u0435\u0439\u043d\u0435\u0440\u0430 <span style=\"color: #0000ff;\"><strong>container<\/strong><\/span>\u00a0 \u0438 \u0442\u0440\u0435\u0431\u0443\u0435\u0442 \u0432\u0441\u0435\u0433\u043e \u043e\u0434\u043d\u043e\u0439 \u0441\u0442\u0440\u043e\u043a\u0438 \u043a\u043e\u0434\u0430:<\/span><\/p>\n<p style=\"padding-left: 30px;\"><strong><span style=\"color: #0000ff;\">let blogs\u00a0 = try container.decode([String:[Blog]].self, forKey: .blogs)<\/span><\/strong><\/p>\n<p><em><strong>\u0412\u0442\u043e\u0440\u043e\u0439<\/strong> <\/em>\u0441\u043f\u043e\u0441\u043e\u0431 \u0441\u0432\u044f\u0437\u0430\u043d \u0441 \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u0435\u043c \u0432\u043b\u043e\u0436\u0435\u043d\u043d\u043e\u0433\u043e\u00a0<strong>Keyed Container<\/strong>\u00a0\u043f\u043e \u043a\u043b\u044e\u0447\u0443 <strong> .blogs\u00a0<\/strong>\u0438 \u0438\u0437\u0432\u043b\u0435\u0447\u0435\u043d\u0438\u0438 \u0438\u0437 \u043d\u0435\u0433\u043e \u043c\u0430\u0441\u0441\u0438\u0432\u0430\u00a0 <span style=\"color: #0000ff;\"><strong>[Blog]<\/strong><\/span>\u00a0\u043f\u043e \u043a\u043b\u044e\u0447\u0443\u00a0<span style=\"color: #0000ff;\"><strong>.blog<\/strong><\/span>.\u00a0\u042d\u0442\u043e\u0442 \u0441\u043f\u043e\u0441\u043e\u0431 \u0442\u0440\u0435\u0431\u0443\u0435\u0442 \u0443\u0436\u0435 \u0434\u0432\u0435 \u0441\u0442\u0440\u043e\u043a\u0438 \u043a\u043e\u0434\u0430 :<\/p>\n<p><strong><span style=\"color: #0000ff;\">let meta\u00a0 = try container.nestedContainer(keyedBy: TopCodingKeys.self,<\/span><\/strong><br \/>\n<strong><span style=\"color: #0000ff;\">forKey: .blogs)<\/span><\/strong><br \/>\n<strong><span style=\"color: #0000ff;\"> let blogs = try meta.decode([Blog].self, forKey: .blog)<\/span><\/strong><\/p>\n<p><span style=\"font-weight: 400;\"><em><strong>\u0422\u0440\u0435\u0442\u0438\u0439<\/strong> <\/em>\u0441\u043f\u043e\u0441\u043e\u0431 \u0441\u043f\u0443\u0441\u043a\u0430\u0435\u0442\u0441\u044f \u0435\u0449\u0435 \u043d\u0438\u0436\u0435 \u043f\u043e \u0438\u0435\u0440\u0430\u0440\u0445\u0438\u0438 <strong>JSON<\/strong> \u043e\u0431\u044a\u0435\u043a\u0442\u0430 \u0438 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u043d\u0435\u043f\u043e\u0441\u0440\u0435\u0434\u0441\u0442\u0432\u0435\u043d\u043d\u043e \u0441 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u0430\u043c\u0438 <strong><span style=\"color: #0000ff;\">Blog<\/span>\u00a0<\/strong>\u043c\u0430\u0441\u0441\u0438\u0432\u0430 \u0431\u043b\u043e\u0433\u043e\u0432 <span style=\"color: #0000ff;\"><strong>[Blog]<\/strong><\/span>.\u00a0\u042d\u0442\u043e\u0442 \u0441\u043f\u043e\u0441\u043e\u0431 \u043e\u0447\u0435\u043d\u044c \u043f\u043e\u043b\u0435\u0437\u0435\u043d, \u0435\u0441\u043b\u0438 \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0430 \u0438 \u0442\u0438\u043f\u044b \u0434\u0430\u043d\u043d\u044b\u0445 \u041c\u043e\u0434\u0435\u043b\u0438 <strong><span style=\"color: #0000ff;\">Blog<\/span><\/strong> \u0438 <strong>JSON<\/strong> \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u0430, \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u044f\u044e\u0449\u0435\u0433\u043e \u0431\u043b\u043e\u0433 <strong><span style=\"color: #0000ff;\">Blog<\/span><\/strong> \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0435\u043d\u043d\u043e \u043e\u0442\u043b\u0438\u0447\u0430\u044e\u0442\u0441\u044f. \u0412 \u043d\u0430\u0448\u0435\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u044d\u0442\u043e\u0433\u043e \u043d\u0435\u0442 \u0438 \u043c\u044b \u043f\u0440\u0438\u0432\u043e\u0434\u0438\u043c \u044d\u0442\u043e\u0442 \u0441\u043f\u043e\u0441\u043e\u0431 \u0434\u043b\u044f \u0434\u0435\u043c\u043e\u043d\u0441\u0442\u0440\u0430\u0446\u0438\u0438 \u0433\u0438\u0431\u043a\u043e\u0441\u0442\u0438 <strong>API<\/strong> \u043a\u043b\u0430\u0441\u0441\u0430 <strong><span style=\"color: #0000ff;\">JSONDecode<\/span><\/strong>, \u043d\u043e \u0432 <strong><a href=\"https:\/\/troz.net\/2017\/06\/json-parsing-in-swift-4\/\">\u0440\u0435\u0430\u043b\u044c\u043d\u043e\u0439 \u043f\u0440\u0430\u043a\u0442\u0438\u043a\u0435<\/a><\/strong>\u00a0\u0443 \u0432\u0430\u0441 \u0432 \u041c\u043e\u0434\u0435\u043b\u0438 \u043c\u043e\u0433\u0443\u0442 \u0431\u044b\u0442\u044c \u0433\u0435\u043e\u043a\u043e\u043e\u0440\u0434\u0438\u043d\u0430\u0442\u044b, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0432 <strong>JSON<\/strong> \u0432\u0441\u0435\u0433\u0434\u0430 \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u044f\u044e\u0442\u0441\u044f \u043c\u0430\u0441\u0441\u0438\u0432\u043e\u043c \u0441\u0442\u0440\u043e\u043a <strong><span style=\"color: #0000ff;\">[String]<\/span><\/strong>, \u0430 \u0434\u043e\u043b\u0436\u043d\u044b \u0431\u044b\u0442\u044c \u043c\u0430\u0441\u0441\u0438\u0432\u043e\u043c <strong><span style=\"color: #0000ff;\">Doble<\/span><\/strong>. \u0412 \u043d\u0430\u0448\u0435\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u0442\u0440\u0435\u0442\u0438\u0439 \u0441\u043f\u043e\u0441\u043e\u0431 \u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u0443\u0436\u0435 \u0441\u043b\u043e\u0436\u043d\u0435\u0435 \u043f\u0435\u0440\u0432\u044b\u0445 2-\u0445:<\/span><\/p>\n<p><a href=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-09-04-at-7.33.22-AM.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft wp-image-8067 size-full\" src=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-09-04-at-7.33.22-AM.png\" alt=\"\" width=\"1152\" height=\"402\" srcset=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-09-04-at-7.33.22-AM.png 1152w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-09-04-at-7.33.22-AM-300x105.png 300w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-09-04-at-7.33.22-AM-768x268.png 768w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-09-04-at-7.33.22-AM-1024x357.png 1024w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-09-04-at-7.33.22-AM-500x174.png 500w\" sizes=\"auto, (max-width: 1152px) 100vw, 1152px\" \/><\/a><\/p>\n<p><span style=\"font-weight: 400;\">\u0422\u0430\u043a\u0436\u0435 \u043a\u0430\u043a \u0438 \u0432\u043e \u0432\u0442\u043e\u0440\u043e\u043c \u0441\u043f\u043e\u0441\u043e\u0431\u0435 \u043c\u044b \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u043c \u0432\u043b\u043e\u0436\u0435\u043d\u043d\u043e\u0433\u043e\u00a0<strong>Keyed Container<\/strong>\u00a0\u043f\u043e \u043a\u043b\u044e\u0447\u0443 <span style=\"color: #0000ff;\"><strong> .blogs<\/strong><\/span>, \u043d\u043e \u0434\u0430\u043b\u0435\u0435 \u0438\u0437\u0432\u043b\u0435\u043a\u0430\u0435\u043c \u0438\u0437 \u043d\u0435\u0433\u043e \u043f\u043e \u043a\u043b\u044e\u0447\u0443<span style=\"color: #0000ff;\">\u00a0<\/span><strong><span style=\"color: #0000ff;\">.blog<\/span>\u00a0<\/strong>\u0432\u043b\u043e\u0436\u0435\u043d\u043d\u044b\u0439 <strong>UNkeyed Container \u00a0<span style=\"color: #0000ff;\">blogsContainer<\/span><\/strong>, \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0438\u0439 \u043c\u0430\u0441\u0441\u0438\u0432\u0443 \u00a0<span style=\"color: #0000ff;\"><strong>[Blog]<\/strong><\/span>\u00a0\u0438 \u043d\u0430\u0447\u0438\u043d\u0430\u0435\u043c \u0434\u0435\u043a\u043e\u0434\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0435\u0433\u043e \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u044b <strong><span style=\"color: #0000ff;\">blog<\/span><\/strong>, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043d\u0430\u043a\u0430\u043f\u043b\u0438\u0432\u0430\u0435\u043c \u0432 \u043c\u0430\u0441\u0441\u0438\u0432\u0435 <strong><span style=\"color: #0000ff;\">blogs<\/span><\/strong>. \u041f\u043e\u043b\u0443\u0447\u0435\u043d\u043d\u044b\u0439 \u043c\u0430\u0441\u0441\u0438\u0432\u00a0 <span style=\"color: #0000ff;\"><strong>blogs<\/strong><\/span>\u00a0\u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c \u0434\u043b\u044f \u0438\u043d\u0438\u0446\u0438\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 \u043d\u0430\u0448\u0435\u0439 \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u044b <strong><span style=\"color: #0000ff;\">Blogs<\/span><\/strong>.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">\u0412 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u0435 \u043f\u0440\u0438\u043c\u0435\u043d\u0435\u043d\u0438\u044f \u043b\u044e\u0431\u043e\u0433\u043e \u0438\u0437 3-\u0445 \u0441\u043f\u043e\u0441\u043e\u0431\u043e\u0432 \u043c\u044b \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u043c \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e <strong><span style=\"color: #0000ff;\">decode<\/span><\/strong>:<\/span><\/p>\n<p><a href=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-09-05-at-3.49.35-PM.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft wp-image-8071 size-full\" src=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-09-05-at-3.49.35-PM.png\" alt=\"\" width=\"1078\" height=\"202\" srcset=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-09-05-at-3.49.35-PM.png 1078w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-09-05-at-3.49.35-PM-300x56.png 300w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-09-05-at-3.49.35-PM-768x144.png 768w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-09-05-at-3.49.35-PM-1024x192.png 1024w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-09-05-at-3.49.35-PM-500x94.png 500w\" sizes=\"auto, (max-width: 1078px) 100vw, 1078px\" \/><\/a><\/p>\n<p><span style=\"font-weight: 400;\">\u043e\u0434\u0438\u043d \u0438 \u0442\u043e\u0442 \u0436\u0435 \u043c\u0430\u0441\u0441\u0438\u0432 \u0431\u043b\u043e\u0433\u043e\u0432 <strong><span style=\"color: #0000ff;\">blogs<\/span><\/strong>:<\/span><\/p>\n<p><a href=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-09-04-at-7.45.59-AM.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft wp-image-8068 size-full\" src=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-09-04-at-7.45.59-AM.png\" alt=\"\" width=\"1536\" height=\"958\" srcset=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-09-04-at-7.45.59-AM.png 1536w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-09-04-at-7.45.59-AM-300x187.png 300w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-09-04-at-7.45.59-AM-768x479.png 768w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-09-04-at-7.45.59-AM-1024x639.png 1024w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-09-04-at-7.45.59-AM-481x300.png 481w\" sizes=\"auto, (max-width: 1536px) 100vw, 1536px\" \/><\/a><\/p>\n<p><span style=\"font-weight: 400;\">\u041c\u044b \u043c\u043e\u0436\u0435\u043c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u043d\u0443\u044e \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044e \u0434\u043b\u044f <strong><span style=\"color: #0000ff;\">encode<\/span><\/strong>:<\/span><\/p>\n<p><a href=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-09-05-at-3.52.04-PM.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft wp-image-8072 size-full\" src=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-09-05-at-3.52.04-PM.png\" alt=\"\" width=\"1058\" height=\"246\" srcset=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-09-05-at-3.52.04-PM.png 1058w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-09-05-at-3.52.04-PM-300x70.png 300w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-09-05-at-3.52.04-PM-768x179.png 768w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-09-05-at-3.52.04-PM-1024x238.png 1024w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-09-05-at-3.52.04-PM-500x116.png 500w\" sizes=\"auto, (max-width: 1058px) 100vw, 1058px\" \/><\/a><\/p>\n<p><span style=\"font-weight: 400;\">\u0438 \u043f\u043e\u043b\u0443\u0447\u0438\u043c \u0432 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 <strong>JSON<\/strong> \u043e\u0431\u044a\u0435\u043a\u0442\u0430 \u043c\u0430\u0441\u0441\u0438\u0432 \u0431\u043b\u043e\u0433\u043e\u0432 <strong><span style=\"color: #0000ff;\">blog<\/span><\/strong>:<\/span><\/p>\n<p><a href=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-09-05-at-3.55.41-PM.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft wp-image-8073 size-full\" src=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-09-05-at-3.55.41-PM.png\" alt=\"\" width=\"1060\" height=\"774\" srcset=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-09-05-at-3.55.41-PM.png 1060w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-09-05-at-3.55.41-PM-300x219.png 300w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-09-05-at-3.55.41-PM-768x561.png 768w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-09-05-at-3.55.41-PM-1024x748.png 1024w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-09-05-at-3.55.41-PM-411x300.png 411w\" sizes=\"auto, (max-width: 1060px) 100vw, 1060px\" \/><\/a><\/p>\n<p><span style=\"font-weight: 400;\">\u041d\u043e \u043c\u044b \u043c\u043e\u0436\u0435\u043c \u0432\u043e\u0441\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c \u0438\u0441\u0445\u043e\u0434\u043d\u044b\u0439 <strong>JSON<\/strong>\u00a0\u043e\u0431\u044a\u0435\u043a\u0442, \u0435\u0441\u043b\u0438 \u0441\u043e\u0437\u0434\u0430\u0434\u0438\u043c \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u0441\u043a\u0438\u0439 \u043a\u043e\u043d\u0441\u0442\u0440\u0443\u043a\u0442\u043e\u0440\u00a0<strong><span style=\"color: #0000ff;\">func encode(to encoder: Encoder) throws<\/span><\/strong> \u0432 \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0435 <strong><span style=\"color: #0000ff;\">Blogs<\/span><\/strong>:<\/span><\/p>\n<p><a href=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-09-07-at-5.43.40-AM.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft wp-image-8075 size-full\" src=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-09-07-at-5.43.40-AM.png\" alt=\"\" width=\"1160\" height=\"1022\" srcset=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-09-07-at-5.43.40-AM.png 1160w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-09-07-at-5.43.40-AM-300x264.png 300w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-09-07-at-5.43.40-AM-768x677.png 768w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-09-07-at-5.43.40-AM-1024x902.png 1024w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-09-07-at-5.43.40-AM-341x300.png 341w\" sizes=\"auto, (max-width: 1160px) 100vw, 1160px\" \/><\/a><\/p>\n<p><span style=\"font-weight: 400;\">\u042d\u0442\u043e\u0442 \u043c\u0435\u0442\u043e\u0434 \u0430\u0431\u0441\u043e\u043b\u044e\u0442\u043d\u043e \u0441\u0438\u043c\u043c\u0435\u0442\u0440\u0438\u0447\u0435\u043d \u043d\u0430\u0448\u0435\u043c\u0443 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u0441\u043a\u043e\u043c\u0443 \u0438\u043d\u0438\u0446\u0438\u0430\u043b\u0438\u0437\u0430\u0442\u043e\u0440\u0443 <span style=\"color: #0000ff;\"><strong>init (from decoder: Decoder)<\/strong><\/span>. \u041c\u044b \u0441\u043e\u0437\u0434\u0430\u0435\u043c \u043a\u043e\u043d\u0442\u0435\u0439\u043d\u0435\u0440 <strong><span style=\"color: #0000ff;\">container<\/span><\/strong> \u0441 \u043a\u043b\u044e\u0447\u0430\u043c\u0438 <span style=\"color: #0000ff;\"><strong>TopCodingKeys<\/strong><\/span>\u00a0\u0438 \u043d\u0430\u0447\u0438\u043d\u0430\u0435\u043c \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0442\u044c \u0432 \u043d\u0435\u0433\u043e \u043d\u0443\u0436\u043d\u044b\u0435 \u043d\u0430\u043c \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u044b. \u0417\u0434\u0435\u0441\u044c \u0442\u0430\u043a\u0436\u0435, \u043a\u0430\u043a \u0438 \u0432 \u0438\u043d\u0438\u0446\u0438\u0430\u043b\u0438\u0437\u0430\u0442\u043e\u0440\u0435, \u043c\u043e\u0436\u043d\u043e \u043f\u0440\u0435\u0434\u043b\u043e\u0436\u0438\u0442\u044c 3 \u0441\u043f\u043e\u0441\u043e\u0431\u0430 \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u043e\u0432 \u0432 \u00a0\u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u0438 \u043e\u0442 \u0443\u0440\u043e\u0432\u043d\u044f \u0438\u0435\u0440\u0430\u0440\u0445\u0438\u0438 \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u043c\u044b\u0445 <strong>JSON<\/strong> \u043e\u0431\u044a\u0435\u043a\u0442\u043e\u0432.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">\u0421\u043d\u0430\u0447\u0430\u043b\u0430 \u043c\u044b \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u043c \u043a\u043e\u043d\u0442\u0435\u0439\u043d\u0435\u0440 <strong><span style=\"color: #0000ff;\">container<\/span><\/strong> \u0443 <strong><span style=\"color: #0000ff;\">encode<\/span><\/strong>:<\/span><\/p>\n<p style=\"padding-left: 30px;\">\u00a0<strong><span style=\"color: #0000ff;\">var container = encoder.container(keyedBy: TopCodingKeys.self)<\/span><\/strong><\/p>\n<p>\u041a\u043e\u043d\u0442\u0435\u0439\u043d\u0435\u0440 <strong><span style=\"color: #0000ff;\">container<\/span>\u00a0<\/strong>\u0434\u043e\u043b\u0436\u0435\u043d \u0431\u044b\u0442\u044c <strong><span style=\"color: #0000ff;\">var<\/span><\/strong>, \u043f\u043e\u0442\u043e\u043c\u0443 \u0447\u0442\u043e \u043a \u043d\u0435\u043c\u0443 \u043c\u044b \u0431\u0443\u0434\u0435\u043c \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0442\u044c \u043d\u043e\u0432\u044b\u0435 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u044b. \u041c\u044b \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u043c &#171;\u043f\u043e\u0442\u0435\u0440\u044f\u043d\u043d\u044b\u0435&#187; \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u044b <span style=\"color: #0000ff;\"><strong>.stat<\/strong><\/span> \u0438 <span style=\"color: #0000ff;\"><strong>.pages<\/strong><\/span>, \u0430 \u0442\u0430\u043a\u0436\u0435 \u0446\u0435\u043b\u0438\u043a\u043e\u043c \u0441\u043b\u043e\u0432\u0430\u0440\u044c <strong><span style=\"color: #0000ff;\">[&#171;blog&#187;: self.blog<\/span>]<\/strong> \u0434\u043b\u044f \u043a\u043b\u044e\u0447\u0430 <span style=\"color: #0000ff;\"><strong>.blogs\u00a0<\/strong><\/span>:<\/p>\n<p style=\"padding-left: 30px;\"><strong><span style=\"color: #0000ff;\">try container.encode(&#171;ok&#187;, forKey: .stat)<\/span><\/strong><\/p>\n<p><strong><span style=\"color: #0000ff;\">\u00a0 \u00a0 \u00a0 \u00a0 try container.encode(1, forKey: .pages)<\/span><\/strong><\/p>\n<p><strong><span style=\"color: #0000ff;\">\u00a0 \u00a0 \u00a0 \u00a0 try container.encode([&#171;blog&#187;: self.blog], forKey: .blogs)<\/span><\/strong><\/p>\n<p><span style=\"font-weight: 400;\">\u042d\u0442\u043e \u043f\u0435\u0440\u0432\u044b\u0439 \u0441\u043f\u043e\u0441\u043e\u0431, \u0441\u0430\u043c\u044b\u0439 \u043a\u043e\u0440\u043e\u0442\u043a\u0438\u0439.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">\u0414\u0430\u0432\u0430\u0439\u0442\u0435 \u0440\u0430\u0441\u0441\u043c\u043e\u0442\u0440\u0438\u043c 3-\u0438\u0439 \u0441\u043f\u043e\u0441\u043e\u0431, \u043a\u043e\u0433\u0434\u0430 \u043a\u0430\u0436\u0434\u044b\u0439 \u0431\u043b\u043e\u0433 \u0432 \u043c\u0430\u0441\u0441\u0438\u0432\u0435 \u0431\u043b\u043e\u0433\u043e\u0432\u00a0<span style=\"color: #0000ff;\"><strong>blog<\/strong><\/span> \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u043e:<\/span><\/p>\n<p><a href=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-09-07-at-11.13.05-AM.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft wp-image-8078 size-full\" src=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-09-07-at-11.13.05-AM.png\" alt=\"\" width=\"1156\" height=\"762\" srcset=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-09-07-at-11.13.05-AM.png 1156w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-09-07-at-11.13.05-AM-300x198.png 300w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-09-07-at-11.13.05-AM-768x506.png 768w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-09-07-at-11.13.05-AM-1024x675.png 1024w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-09-07-at-11.13.05-AM-455x300.png 455w\" sizes=\"auto, (max-width: 1156px) 100vw, 1156px\" \/><\/a><\/p>\n<p><span style=\"font-weight: 400;\">\u0414\u043b\u044f \u043f\u0440\u0438\u0434\u0430\u043d\u0438\u044f \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u043d\u043e\u0433\u043e \u0441\u043c\u044b\u0441\u043b\u0430 \u044d\u0442\u043e\u043c\u0443 \u0441\u043f\u043e\u0441\u043e\u0431\u0443, \u043c\u044b \u043d\u0435\u043c\u043d\u043e\u0433\u043e \u0443\u0441\u043b\u043e\u0436\u043d\u0438\u043c \u0437\u0430\u0434\u0430\u0447\u0443 \u0438 \u0431\u0443\u0434\u0435\u043c \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0442\u044c \u0432\u043e \u0432\u0441\u0435 \u0431\u043b\u043e\u0433\u0438, \u0432 \u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u043e\u0442\u0441\u0443\u0442\u0441\u0442\u0432\u0443\u0435\u0442 <strong><span style=\"color: #0000ff;\">email<\/span><\/strong>, \u0432\u043f\u043e\u043b\u043d\u0435 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u043d\u044b\u0439 <strong><span style=\"color: #0000ff;\">email \u00a0[[ &#171;scholl&#187;: &#171;school@gmail.com&#187;]]<\/span><\/strong>. \u0411\u0435\u0437\u0443\u0441\u043b\u043e\u0432\u043d\u043e, \u044d\u0442\u0430 \u0437\u0430\u0434\u0430\u0447\u0430 \u043d\u043e\u0441\u0438\u0442 \u0438\u0441\u043a\u0443\u0441\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0439 \u0445\u0430\u0440\u0430\u043a\u0442\u0435\u0440, \u043d\u043e \u0437\u0434\u0435\u0441\u044c \u043e\u043d\u0430 \u043f\u0440\u0438\u0432\u0435\u0434\u0435\u043d\u0430 \u0434\u043b\u044f \u0442\u043e\u0433\u043e, \u0447\u0442\u043e\u0431\u044b \u043f\u043e\u043a\u0430\u0437\u0430\u0442\u044c, \u0447\u0442\u043e <strong>JSON<\/strong> \u043e\u0431\u044a\u0435\u043a\u0442 \u043c\u043e\u0436\u0435\u0442 \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0435\u043d\u043d\u043e \u043e\u0442\u043b\u0438\u0447\u0430\u0442\u044c\u0441\u044f \u043e\u0442 <strong>Swift<\/strong> \u041c\u043e\u0434\u0435\u043b\u0438.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">\u0412 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u0435 \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u043c \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439 <strong>JSON<\/strong> \u043e\u0431\u044a\u0435\u043a\u0442:<\/span><\/p>\n<p><a href=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-09-07-at-11.53.59-AM.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft wp-image-8079 size-full\" src=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-09-07-at-11.53.59-AM.png\" alt=\"\" width=\"1050\" height=\"1032\" srcset=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-09-07-at-11.53.59-AM.png 1050w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-09-07-at-11.53.59-AM-300x295.png 300w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-09-07-at-11.53.59-AM-768x755.png 768w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-09-07-at-11.53.59-AM-1024x1006.png 1024w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-09-07-at-11.53.59-AM-305x300.png 305w\" sizes=\"auto, (max-width: 1050px) 100vw, 1050px\" \/><\/a><\/p>\n<h1>\u0417\u0430\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435.<\/h1>\n<p><span style=\"font-weight: 400;\">\u0412 \u044d\u0442\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0435 \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u044b \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043f\u0440\u0438\u043c\u0435\u0440\u044b \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f <strong>API<\/strong> \u043d\u043e\u0432\u043e\u0433\u043e \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b\u0430 <strong><span style=\"color: #0000ff;\">Codable<\/span><\/strong> \u0432 <strong>Swift 4<\/strong>. \u041a\u043e\u0434 \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u043d\u0430 <strong><a href=\"https:\/\/github.com\/BestKora\/JSON_Swift_4\">Github<\/a><\/strong>.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">\u0421\u0441\u044b\u043b\u043a\u0438:<\/span><\/p>\n<h1 class=\"entry-title\"><a href=\"http:\/\/benscheirman.com\/2017\/06\/ultimate-guide-to-json-parsing-with-swift-4\/\">Ultimate Guide to JSON Parsing With Swift 4.<\/a><\/h1>\n<h1><a href=\"https:\/\/troz.net\/2017\/06\/json-parsing-in-swift-4\/\">JSON Parsing in Swift 4<\/a>.<\/h1>\n<h1 class=\"title\"><a href=\"http:\/\/nsscreencast.com\/episodes\/278-swift-4-json-parsing\">Swift 4 JSON Parsing.<\/a><\/h1>\n","protected":false},"excerpt":{"rendered":"<p>\u0421\u0430\u043c\u0430\u044f \u0437\u0430\u043c\u0435\u0447\u0430\u0442\u0435\u043b\u044c\u043d\u0430\u044f \u0432\u0435\u0449\u044c, \u043a\u043e\u0442\u043e\u0440\u0443\u044e \u043c\u044b \u043f\u043e\u043b\u0443\u0447\u0438\u043b\u0438 \u0432 Swift 4 &#8212; \u044d\u0442\u043e \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b\u00a0Codable, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442 \u0441\u043e\u0431\u043e\u0439\u00a0typealias\u00a0\u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b\u043e\u0432 Encodable \u0438\u00a0Decodable, \u0438 \u043a\u043b\u0430\u0441\u0441\u044b JSONDecode \u0438 JSONEncode. \u0411\u043b\u0430\u0433\u043e\u0434\u0430\u0440\u044f \u044d\u0442\u043e\u043c\u0443 \u0432\u044b \u0442\u0435\u043f\u0435\u0440\u044c \u043c\u043e\u0436\u0435\u0442\u0435 \u043f\u0440\u0435\u043e\u0431\u0440\u0430\u0437\u043e\u0432\u044b\u0432\u0430\u0442\u044c \u043c\u043d\u043e\u0436\u0435\u0441\u0442\u0432\u043e JSON \u043e\u0431\u044a\u0435\u043a\u0442\u043e\u0432, \u0430 \u0442\u0430\u043a\u0436\u0435 Property Lists \u0432 \u044d\u043a\u0432\u0438\u0432\u0430\u043b\u0435\u043d\u0442\u043d\u044b\u0435 \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u044b Struct \u0438 &hellip; <a href=\"https:\/\/bestkora.com\/IosDeveloper\/swift-4-parsim-json\/\">\u0427\u0438\u0442\u0430\u0442\u044c \u0434\u0430\u043b\u0435\u0435 <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[14,43],"tags":[45,44],"class_list":["post-7995","post","type-post","status-publish","format-standard","hentry","category-swift","category-swift-4","tag-ios-11","tag-swift-4"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 4.9.8 - aioseo.com -->\n\t<meta name=\"description\" content=\"\u0432 Swift 4 - \u044d\u0442\u043e \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b Codable, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442 \u0441\u043e\u0431\u043e\u0439 typealias \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b\u043e\u0432 Encodable \u0438 Decodable, \u0438 \u043a\u043b\u0430\u0441\u0441\u044b JSONDecode \u0438 JSONEncode. \u0411\u043b\u0430\u0433\u043e\u0434\u0430\u0440\u044f \u044d\u0442\u043e\u043c\u0443 \u0432\u044b \u0442\u0435\u043f\u0435\u0440\u044c \u043c\u043e\u0436\u0435\u0442\u0435 \u043f\u0440\u0435\u043e\u0431\u0440\u0430\u0437\u043e\u0432\u044b\u0432\u0430\u0442\u044c \u043c\u043d\u043e\u0436\u0435\u0441\u0442\u0432\u043e JSON \u043e\u0431\u044a\u0435\u043a\u0442\u043e\u0432, \u0430 \u0442\u0430\u043a\u0436\u0435 Property Lists \u0432 \u044d\u043a\u0432\u0438\u0432\u0430\u043b\u0435\u043d\u0442\u043d\u044b\u0435 \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u044b Struct \u0438 \u043a\u043b\u0430\u0441\u0441\u044b Class \u0431\u0435\u0437 \u0435\u0434\u0438\u043d\u043e\u0439 \u0441\u0442\u0440\u043e\u043a\u0438 \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0433\u043e \u043a\u043e\u0434\u0430.\" \/>\n\t<meta name=\"robots\" content=\"max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n\t<meta name=\"author\" content=\"tatiana.kornilova@gmail.com\"\/>\n\t<meta name=\"keywords\" content=\"swift 4,codable,decodable,encodable,parse json,jsondecode,jsonencode,keyed container,unkeyed container,\u00a0single value container,custom init (from decoder: decoder)\" \/>\n\t<link rel=\"canonical\" href=\"https:\/\/bestkora.com\/IosDeveloper\/swift-4-parsim-json\/\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 4.9.8\" \/>\n\t\t<meta property=\"og:locale\" content=\"ru_RU\" \/>\n\t\t<meta property=\"og:site_name\" content=\"\u041e\u0431\u0443\u0447\u0430\u044e\u0449\u0438\u0439 \u043a\u0443\u0440\u0441 \u043f\u043e \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0435 iOS+Swift \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439. | \u0420\u0443\u0441\u0441\u043a\u0438\u0439 \u043d\u0435\u0430\u0432\u0442\u043e\u0440\u0438\u0437\u043e\u0432\u0430\u043d\u043d\u044b\u0439 \u043a\u043e\u043d\u0441\u043f\u0435\u043a\u0442 \u043b\u0435\u043a\u0446\u0438\u0439 \u0421\u0442\u044d\u043d\u0444\u043e\u0440\u0434\u0441\u043a\u043e\u0433\u043e \u0443\u043d\u0438\u0432\u0435\u0440\u0441\u0438\u0442\u0435\u0442\u0430 &quot; \u0420\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0430 iOS \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439&quot; 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021 , 2023,  2024,  2025  \u0438 2026 \u0433\u0433., \u0441\u043e\u043f\u0440\u043e\u0432\u043e\u0436\u0434\u0430\u0435\u043c\u044b\u0439 \u0440\u0435\u0448\u0435\u043d\u0438\u044f\u043c\u0438 \u0437\u0430\u0434\u0430\u043d\u0438\u0439 \u0438 \u0434\u043e\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f\u043c\u0438, \u0441\u0432\u044f\u0437\u0430\u043d\u043d\u044b\u043c\u0438 \u0441 \u0430\u0434\u0430\u043f\u0442\u0430\u0446\u0438\u0435\u0439 \u043a\u0443\u0440\u0441\u043e\u0432 \u043a \u043d\u043e\u0432\u044b\u043c \u0432\u0435\u0440\u0441\u0438\u044f\u043c Swift, Objective-C \u0438 iOS.\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"\u041f\u0430\u0440\u0441\u0438\u043c JSON \u0432 Swift 4 \u043d\u0430 \u043f\u0440\u0438\u043c\u0435\u0440\u0430\u0445. | \u041e\u0431\u0443\u0447\u0430\u044e\u0449\u0438\u0439 \u043a\u0443\u0440\u0441 \u043f\u043e \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0435 iOS+Swift \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439.\" \/>\n\t\t<meta property=\"og:description\" content=\"\u0432 Swift 4 - \u044d\u0442\u043e \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b Codable, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442 \u0441\u043e\u0431\u043e\u0439 typealias \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b\u043e\u0432 Encodable \u0438 Decodable, \u0438 \u043a\u043b\u0430\u0441\u0441\u044b JSONDecode \u0438 JSONEncode. \u0411\u043b\u0430\u0433\u043e\u0434\u0430\u0440\u044f \u044d\u0442\u043e\u043c\u0443 \u0432\u044b \u0442\u0435\u043f\u0435\u0440\u044c \u043c\u043e\u0436\u0435\u0442\u0435 \u043f\u0440\u0435\u043e\u0431\u0440\u0430\u0437\u043e\u0432\u044b\u0432\u0430\u0442\u044c \u043c\u043d\u043e\u0436\u0435\u0441\u0442\u0432\u043e JSON \u043e\u0431\u044a\u0435\u043a\u0442\u043e\u0432, \u0430 \u0442\u0430\u043a\u0436\u0435 Property Lists \u0432 \u044d\u043a\u0432\u0438\u0432\u0430\u043b\u0435\u043d\u0442\u043d\u044b\u0435 \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u044b Struct \u0438 \u043a\u043b\u0430\u0441\u0441\u044b Class \u0431\u0435\u0437 \u0435\u0434\u0438\u043d\u043e\u0439 \u0441\u0442\u0440\u043e\u043a\u0438 \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0433\u043e \u043a\u043e\u0434\u0430.\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/bestkora.com\/IosDeveloper\/swift-4-parsim-json\/\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2017-08-28T07:07:51+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2017-09-08T09:47:10+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary\" \/>\n\t\t<meta name=\"twitter:title\" content=\"\u041f\u0430\u0440\u0441\u0438\u043c JSON \u0432 Swift 4 \u043d\u0430 \u043f\u0440\u0438\u043c\u0435\u0440\u0430\u0445. | \u041e\u0431\u0443\u0447\u0430\u044e\u0449\u0438\u0439 \u043a\u0443\u0440\u0441 \u043f\u043e \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0435 iOS+Swift \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439.\" \/>\n\t\t<meta name=\"twitter:description\" content=\"\u0432 Swift 4 - \u044d\u0442\u043e \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b Codable, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442 \u0441\u043e\u0431\u043e\u0439 typealias \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b\u043e\u0432 Encodable \u0438 Decodable, \u0438 \u043a\u043b\u0430\u0441\u0441\u044b JSONDecode \u0438 JSONEncode. \u0411\u043b\u0430\u0433\u043e\u0434\u0430\u0440\u044f \u044d\u0442\u043e\u043c\u0443 \u0432\u044b \u0442\u0435\u043f\u0435\u0440\u044c \u043c\u043e\u0436\u0435\u0442\u0435 \u043f\u0440\u0435\u043e\u0431\u0440\u0430\u0437\u043e\u0432\u044b\u0432\u0430\u0442\u044c \u043c\u043d\u043e\u0436\u0435\u0441\u0442\u0432\u043e JSON \u043e\u0431\u044a\u0435\u043a\u0442\u043e\u0432, \u0430 \u0442\u0430\u043a\u0436\u0435 Property Lists \u0432 \u044d\u043a\u0432\u0438\u0432\u0430\u043b\u0435\u043d\u0442\u043d\u044b\u0435 \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u044b Struct \u0438 \u043a\u043b\u0430\u0441\u0441\u044b Class \u0431\u0435\u0437 \u0435\u0434\u0438\u043d\u043e\u0439 \u0441\u0442\u0440\u043e\u043a\u0438 \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0433\u043e \u043a\u043e\u0434\u0430.\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/bestkora.com\\\/IosDeveloper\\\/swift-4-parsim-json\\\/#article\",\"name\":\"\\u041f\\u0430\\u0440\\u0441\\u0438\\u043c JSON \\u0432 Swift 4 \\u043d\\u0430 \\u043f\\u0440\\u0438\\u043c\\u0435\\u0440\\u0430\\u0445. | \\u041e\\u0431\\u0443\\u0447\\u0430\\u044e\\u0449\\u0438\\u0439 \\u043a\\u0443\\u0440\\u0441 \\u043f\\u043e \\u0440\\u0430\\u0437\\u0440\\u0430\\u0431\\u043e\\u0442\\u043a\\u0435 iOS+Swift \\u043f\\u0440\\u0438\\u043b\\u043e\\u0436\\u0435\\u043d\\u0438\\u0439.\",\"headline\":\"\\u041f\\u0430\\u0440\\u0441\\u0438\\u043c JSON \\u0432 Swift 4 \\u043d\\u0430 \\u043f\\u0440\\u0438\\u043c\\u0435\\u0440\\u0430\\u0445.\",\"author\":{\"@id\":\"https:\\\/\\\/bestkora.com\\\/IosDeveloper\\\/author\\\/tatiana-lornilovagmail-com\\\/#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/bestkora.com\\\/IosDeveloper\\\/#person\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/bestkora.com\\\/IosDeveloper\\\/wp-content\\\/uploads\\\/2017\\\/08\\\/Screen-Shot-2017-09-07-at-12.29.00-PM.png\",\"@id\":\"https:\\\/\\\/bestkora.com\\\/IosDeveloper\\\/swift-4-parsim-json\\\/#articleImage\",\"width\":756,\"height\":432},\"datePublished\":\"2017-08-28T07:07:51+00:00\",\"dateModified\":\"2017-09-08T09:47:10+00:00\",\"inLanguage\":\"ru-RU\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/bestkora.com\\\/IosDeveloper\\\/swift-4-parsim-json\\\/#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/bestkora.com\\\/IosDeveloper\\\/swift-4-parsim-json\\\/#webpage\"},\"articleSection\":\"Swift, Swift 4, iOS 11, Swift 4\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/bestkora.com\\\/IosDeveloper\\\/swift-4-parsim-json\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/bestkora.com\\\/IosDeveloper#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/bestkora.com\\\/IosDeveloper\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/bestkora.com\\\/IosDeveloper\\\/category\\\/swift\\\/#listItem\",\"name\":\"Swift\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/bestkora.com\\\/IosDeveloper\\\/category\\\/swift\\\/#listItem\",\"position\":2,\"name\":\"Swift\",\"item\":\"https:\\\/\\\/bestkora.com\\\/IosDeveloper\\\/category\\\/swift\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/bestkora.com\\\/IosDeveloper\\\/swift-4-parsim-json\\\/#listItem\",\"name\":\"\\u041f\\u0430\\u0440\\u0441\\u0438\\u043c JSON \\u0432 Swift 4 \\u043d\\u0430 \\u043f\\u0440\\u0438\\u043c\\u0435\\u0440\\u0430\\u0445.\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/bestkora.com\\\/IosDeveloper#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/bestkora.com\\\/IosDeveloper\\\/swift-4-parsim-json\\\/#listItem\",\"position\":3,\"name\":\"\\u041f\\u0430\\u0440\\u0441\\u0438\\u043c JSON \\u0432 Swift 4 \\u043d\\u0430 \\u043f\\u0440\\u0438\\u043c\\u0435\\u0440\\u0430\\u0445.\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/bestkora.com\\\/IosDeveloper\\\/category\\\/swift\\\/#listItem\",\"name\":\"Swift\"}}]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/bestkora.com\\\/IosDeveloper\\\/#person\",\"name\":\"tatiana.kornilova@gmail.com\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/bestkora.com\\\/IosDeveloper\\\/swift-4-parsim-json\\\/#personImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/33ccc19059014d8a7849c3621afa2b66a5f3e50ac7291c91c30ff35df5747628?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"tatiana.kornilova@gmail.com\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/bestkora.com\\\/IosDeveloper\\\/author\\\/tatiana-lornilovagmail-com\\\/#author\",\"url\":\"https:\\\/\\\/bestkora.com\\\/IosDeveloper\\\/author\\\/tatiana-lornilovagmail-com\\\/\",\"name\":\"tatiana.kornilova@gmail.com\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/bestkora.com\\\/IosDeveloper\\\/swift-4-parsim-json\\\/#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/33ccc19059014d8a7849c3621afa2b66a5f3e50ac7291c91c30ff35df5747628?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"tatiana.kornilova@gmail.com\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/bestkora.com\\\/IosDeveloper\\\/swift-4-parsim-json\\\/#webpage\",\"url\":\"https:\\\/\\\/bestkora.com\\\/IosDeveloper\\\/swift-4-parsim-json\\\/\",\"name\":\"\\u041f\\u0430\\u0440\\u0441\\u0438\\u043c JSON \\u0432 Swift 4 \\u043d\\u0430 \\u043f\\u0440\\u0438\\u043c\\u0435\\u0440\\u0430\\u0445. | \\u041e\\u0431\\u0443\\u0447\\u0430\\u044e\\u0449\\u0438\\u0439 \\u043a\\u0443\\u0440\\u0441 \\u043f\\u043e \\u0440\\u0430\\u0437\\u0440\\u0430\\u0431\\u043e\\u0442\\u043a\\u0435 iOS+Swift \\u043f\\u0440\\u0438\\u043b\\u043e\\u0436\\u0435\\u043d\\u0438\\u0439.\",\"description\":\"\\u0432 Swift 4 - \\u044d\\u0442\\u043e \\u043f\\u0440\\u043e\\u0442\\u043e\\u043a\\u043e\\u043b Codable, \\u043a\\u043e\\u0442\\u043e\\u0440\\u044b\\u0439 \\u043f\\u0440\\u0435\\u0434\\u0441\\u0442\\u0430\\u0432\\u043b\\u044f\\u0435\\u0442 \\u0441\\u043e\\u0431\\u043e\\u0439 typealias \\u043f\\u0440\\u043e\\u0442\\u043e\\u043a\\u043e\\u043b\\u043e\\u0432 Encodable \\u0438 Decodable, \\u0438 \\u043a\\u043b\\u0430\\u0441\\u0441\\u044b JSONDecode \\u0438 JSONEncode. \\u0411\\u043b\\u0430\\u0433\\u043e\\u0434\\u0430\\u0440\\u044f \\u044d\\u0442\\u043e\\u043c\\u0443 \\u0432\\u044b \\u0442\\u0435\\u043f\\u0435\\u0440\\u044c \\u043c\\u043e\\u0436\\u0435\\u0442\\u0435 \\u043f\\u0440\\u0435\\u043e\\u0431\\u0440\\u0430\\u0437\\u043e\\u0432\\u044b\\u0432\\u0430\\u0442\\u044c \\u043c\\u043d\\u043e\\u0436\\u0435\\u0441\\u0442\\u0432\\u043e JSON \\u043e\\u0431\\u044a\\u0435\\u043a\\u0442\\u043e\\u0432, \\u0430 \\u0442\\u0430\\u043a\\u0436\\u0435 Property Lists \\u0432 \\u044d\\u043a\\u0432\\u0438\\u0432\\u0430\\u043b\\u0435\\u043d\\u0442\\u043d\\u044b\\u0435 \\u0441\\u0442\\u0440\\u0443\\u043a\\u0442\\u0443\\u0440\\u044b Struct \\u0438 \\u043a\\u043b\\u0430\\u0441\\u0441\\u044b Class \\u0431\\u0435\\u0437 \\u0435\\u0434\\u0438\\u043d\\u043e\\u0439 \\u0441\\u0442\\u0440\\u043e\\u043a\\u0438 \\u0434\\u043e\\u043f\\u043e\\u043b\\u043d\\u0438\\u0442\\u0435\\u043b\\u044c\\u043d\\u043e\\u0433\\u043e \\u043a\\u043e\\u0434\\u0430.\",\"inLanguage\":\"ru-RU\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/bestkora.com\\\/IosDeveloper\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/bestkora.com\\\/IosDeveloper\\\/swift-4-parsim-json\\\/#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/bestkora.com\\\/IosDeveloper\\\/author\\\/tatiana-lornilovagmail-com\\\/#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/bestkora.com\\\/IosDeveloper\\\/author\\\/tatiana-lornilovagmail-com\\\/#author\"},\"datePublished\":\"2017-08-28T07:07:51+00:00\",\"dateModified\":\"2017-09-08T09:47:10+00:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/bestkora.com\\\/IosDeveloper\\\/#website\",\"url\":\"https:\\\/\\\/bestkora.com\\\/IosDeveloper\\\/\",\"name\":\"\\u041e\\u0431\\u0443\\u0447\\u0430\\u044e\\u0449\\u0438\\u0439 \\u043a\\u0443\\u0440\\u0441 \\u043f\\u043e \\u0440\\u0430\\u0437\\u0440\\u0430\\u0431\\u043e\\u0442\\u043a\\u0435 iOS+Swift \\u043f\\u0440\\u0438\\u043b\\u043e\\u0436\\u0435\\u043d\\u0438\\u0439.\",\"description\":\"\\u0420\\u0443\\u0441\\u0441\\u043a\\u0438\\u0439 \\u043d\\u0435\\u0430\\u0432\\u0442\\u043e\\u0440\\u0438\\u0437\\u043e\\u0432\\u0430\\u043d\\u043d\\u044b\\u0439 \\u043a\\u043e\\u043d\\u0441\\u043f\\u0435\\u043a\\u0442 \\u043b\\u0435\\u043a\\u0446\\u0438\\u0439 \\u0421\\u0442\\u044d\\u043d\\u0444\\u043e\\u0440\\u0434\\u0441\\u043a\\u043e\\u0433\\u043e \\u0443\\u043d\\u0438\\u0432\\u0435\\u0440\\u0441\\u0438\\u0442\\u0435\\u0442\\u0430 \\\" \\u0420\\u0430\\u0437\\u0440\\u0430\\u0431\\u043e\\u0442\\u043a\\u0430 iOS \\u043f\\u0440\\u0438\\u043b\\u043e\\u0436\\u0435\\u043d\\u0438\\u0439\\\" 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021 , 2023,  2024,  2025  \\u0438 2026 \\u0433\\u0433., \\u0441\\u043e\\u043f\\u0440\\u043e\\u0432\\u043e\\u0436\\u0434\\u0430\\u0435\\u043c\\u044b\\u0439 \\u0440\\u0435\\u0448\\u0435\\u043d\\u0438\\u044f\\u043c\\u0438 \\u0437\\u0430\\u0434\\u0430\\u043d\\u0438\\u0439 \\u0438 \\u0434\\u043e\\u043f\\u043e\\u043b\\u043d\\u0435\\u043d\\u0438\\u044f\\u043c\\u0438, \\u0441\\u0432\\u044f\\u0437\\u0430\\u043d\\u043d\\u044b\\u043c\\u0438 \\u0441 \\u0430\\u0434\\u0430\\u043f\\u0442\\u0430\\u0446\\u0438\\u0435\\u0439 \\u043a\\u0443\\u0440\\u0441\\u043e\\u0432 \\u043a \\u043d\\u043e\\u0432\\u044b\\u043c \\u0432\\u0435\\u0440\\u0441\\u0438\\u044f\\u043c Swift, Objective-C \\u0438 iOS.\",\"inLanguage\":\"ru-RU\",\"publisher\":{\"@id\":\"https:\\\/\\\/bestkora.com\\\/IosDeveloper\\\/#person\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"\u041f\u0430\u0440\u0441\u0438\u043c JSON \u0432 Swift 4 \u043d\u0430 \u043f\u0440\u0438\u043c\u0435\u0440\u0430\u0445. | \u041e\u0431\u0443\u0447\u0430\u044e\u0449\u0438\u0439 \u043a\u0443\u0440\u0441 \u043f\u043e \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0435 iOS+Swift \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439.","description":"\u0432 Swift 4 - \u044d\u0442\u043e \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b Codable, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442 \u0441\u043e\u0431\u043e\u0439 typealias \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b\u043e\u0432 Encodable \u0438 Decodable, \u0438 \u043a\u043b\u0430\u0441\u0441\u044b JSONDecode \u0438 JSONEncode. \u0411\u043b\u0430\u0433\u043e\u0434\u0430\u0440\u044f \u044d\u0442\u043e\u043c\u0443 \u0432\u044b \u0442\u0435\u043f\u0435\u0440\u044c \u043c\u043e\u0436\u0435\u0442\u0435 \u043f\u0440\u0435\u043e\u0431\u0440\u0430\u0437\u043e\u0432\u044b\u0432\u0430\u0442\u044c \u043c\u043d\u043e\u0436\u0435\u0441\u0442\u0432\u043e JSON \u043e\u0431\u044a\u0435\u043a\u0442\u043e\u0432, \u0430 \u0442\u0430\u043a\u0436\u0435 Property Lists \u0432 \u044d\u043a\u0432\u0438\u0432\u0430\u043b\u0435\u043d\u0442\u043d\u044b\u0435 \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u044b Struct \u0438 \u043a\u043b\u0430\u0441\u0441\u044b Class \u0431\u0435\u0437 \u0435\u0434\u0438\u043d\u043e\u0439 \u0441\u0442\u0440\u043e\u043a\u0438 \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0433\u043e \u043a\u043e\u0434\u0430.","canonical_url":"https:\/\/bestkora.com\/IosDeveloper\/swift-4-parsim-json\/","robots":"max-snippet:-1, max-image-preview:large, max-video-preview:-1","keywords":"swift 4,codable,decodable,encodable,parse json,jsondecode,jsonencode,keyed container,unkeyed container,\u00a0single value container,custom init (from decoder: decoder)","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/bestkora.com\/IosDeveloper\/swift-4-parsim-json\/#article","name":"\u041f\u0430\u0440\u0441\u0438\u043c JSON \u0432 Swift 4 \u043d\u0430 \u043f\u0440\u0438\u043c\u0435\u0440\u0430\u0445. | \u041e\u0431\u0443\u0447\u0430\u044e\u0449\u0438\u0439 \u043a\u0443\u0440\u0441 \u043f\u043e \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0435 iOS+Swift \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439.","headline":"\u041f\u0430\u0440\u0441\u0438\u043c JSON \u0432 Swift 4 \u043d\u0430 \u043f\u0440\u0438\u043c\u0435\u0440\u0430\u0445.","author":{"@id":"https:\/\/bestkora.com\/IosDeveloper\/author\/tatiana-lornilovagmail-com\/#author"},"publisher":{"@id":"https:\/\/bestkora.com\/IosDeveloper\/#person"},"image":{"@type":"ImageObject","url":"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-09-07-at-12.29.00-PM.png","@id":"https:\/\/bestkora.com\/IosDeveloper\/swift-4-parsim-json\/#articleImage","width":756,"height":432},"datePublished":"2017-08-28T07:07:51+00:00","dateModified":"2017-09-08T09:47:10+00:00","inLanguage":"ru-RU","mainEntityOfPage":{"@id":"https:\/\/bestkora.com\/IosDeveloper\/swift-4-parsim-json\/#webpage"},"isPartOf":{"@id":"https:\/\/bestkora.com\/IosDeveloper\/swift-4-parsim-json\/#webpage"},"articleSection":"Swift, Swift 4, iOS 11, Swift 4"},{"@type":"BreadcrumbList","@id":"https:\/\/bestkora.com\/IosDeveloper\/swift-4-parsim-json\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/bestkora.com\/IosDeveloper#listItem","position":1,"name":"Home","item":"https:\/\/bestkora.com\/IosDeveloper","nextItem":{"@type":"ListItem","@id":"https:\/\/bestkora.com\/IosDeveloper\/category\/swift\/#listItem","name":"Swift"}},{"@type":"ListItem","@id":"https:\/\/bestkora.com\/IosDeveloper\/category\/swift\/#listItem","position":2,"name":"Swift","item":"https:\/\/bestkora.com\/IosDeveloper\/category\/swift\/","nextItem":{"@type":"ListItem","@id":"https:\/\/bestkora.com\/IosDeveloper\/swift-4-parsim-json\/#listItem","name":"\u041f\u0430\u0440\u0441\u0438\u043c JSON \u0432 Swift 4 \u043d\u0430 \u043f\u0440\u0438\u043c\u0435\u0440\u0430\u0445."},"previousItem":{"@type":"ListItem","@id":"https:\/\/bestkora.com\/IosDeveloper#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/bestkora.com\/IosDeveloper\/swift-4-parsim-json\/#listItem","position":3,"name":"\u041f\u0430\u0440\u0441\u0438\u043c JSON \u0432 Swift 4 \u043d\u0430 \u043f\u0440\u0438\u043c\u0435\u0440\u0430\u0445.","previousItem":{"@type":"ListItem","@id":"https:\/\/bestkora.com\/IosDeveloper\/category\/swift\/#listItem","name":"Swift"}}]},{"@type":"Person","@id":"https:\/\/bestkora.com\/IosDeveloper\/#person","name":"tatiana.kornilova@gmail.com","image":{"@type":"ImageObject","@id":"https:\/\/bestkora.com\/IosDeveloper\/swift-4-parsim-json\/#personImage","url":"https:\/\/secure.gravatar.com\/avatar\/33ccc19059014d8a7849c3621afa2b66a5f3e50ac7291c91c30ff35df5747628?s=96&d=mm&r=g","width":96,"height":96,"caption":"tatiana.kornilova@gmail.com"}},{"@type":"Person","@id":"https:\/\/bestkora.com\/IosDeveloper\/author\/tatiana-lornilovagmail-com\/#author","url":"https:\/\/bestkora.com\/IosDeveloper\/author\/tatiana-lornilovagmail-com\/","name":"tatiana.kornilova@gmail.com","image":{"@type":"ImageObject","@id":"https:\/\/bestkora.com\/IosDeveloper\/swift-4-parsim-json\/#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/33ccc19059014d8a7849c3621afa2b66a5f3e50ac7291c91c30ff35df5747628?s=96&d=mm&r=g","width":96,"height":96,"caption":"tatiana.kornilova@gmail.com"}},{"@type":"WebPage","@id":"https:\/\/bestkora.com\/IosDeveloper\/swift-4-parsim-json\/#webpage","url":"https:\/\/bestkora.com\/IosDeveloper\/swift-4-parsim-json\/","name":"\u041f\u0430\u0440\u0441\u0438\u043c JSON \u0432 Swift 4 \u043d\u0430 \u043f\u0440\u0438\u043c\u0435\u0440\u0430\u0445. | \u041e\u0431\u0443\u0447\u0430\u044e\u0449\u0438\u0439 \u043a\u0443\u0440\u0441 \u043f\u043e \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0435 iOS+Swift \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439.","description":"\u0432 Swift 4 - \u044d\u0442\u043e \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b Codable, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442 \u0441\u043e\u0431\u043e\u0439 typealias \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b\u043e\u0432 Encodable \u0438 Decodable, \u0438 \u043a\u043b\u0430\u0441\u0441\u044b JSONDecode \u0438 JSONEncode. \u0411\u043b\u0430\u0433\u043e\u0434\u0430\u0440\u044f \u044d\u0442\u043e\u043c\u0443 \u0432\u044b \u0442\u0435\u043f\u0435\u0440\u044c \u043c\u043e\u0436\u0435\u0442\u0435 \u043f\u0440\u0435\u043e\u0431\u0440\u0430\u0437\u043e\u0432\u044b\u0432\u0430\u0442\u044c \u043c\u043d\u043e\u0436\u0435\u0441\u0442\u0432\u043e JSON \u043e\u0431\u044a\u0435\u043a\u0442\u043e\u0432, \u0430 \u0442\u0430\u043a\u0436\u0435 Property Lists \u0432 \u044d\u043a\u0432\u0438\u0432\u0430\u043b\u0435\u043d\u0442\u043d\u044b\u0435 \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u044b Struct \u0438 \u043a\u043b\u0430\u0441\u0441\u044b Class \u0431\u0435\u0437 \u0435\u0434\u0438\u043d\u043e\u0439 \u0441\u0442\u0440\u043e\u043a\u0438 \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0433\u043e \u043a\u043e\u0434\u0430.","inLanguage":"ru-RU","isPartOf":{"@id":"https:\/\/bestkora.com\/IosDeveloper\/#website"},"breadcrumb":{"@id":"https:\/\/bestkora.com\/IosDeveloper\/swift-4-parsim-json\/#breadcrumblist"},"author":{"@id":"https:\/\/bestkora.com\/IosDeveloper\/author\/tatiana-lornilovagmail-com\/#author"},"creator":{"@id":"https:\/\/bestkora.com\/IosDeveloper\/author\/tatiana-lornilovagmail-com\/#author"},"datePublished":"2017-08-28T07:07:51+00:00","dateModified":"2017-09-08T09:47:10+00:00"},{"@type":"WebSite","@id":"https:\/\/bestkora.com\/IosDeveloper\/#website","url":"https:\/\/bestkora.com\/IosDeveloper\/","name":"\u041e\u0431\u0443\u0447\u0430\u044e\u0449\u0438\u0439 \u043a\u0443\u0440\u0441 \u043f\u043e \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0435 iOS+Swift \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439.","description":"\u0420\u0443\u0441\u0441\u043a\u0438\u0439 \u043d\u0435\u0430\u0432\u0442\u043e\u0440\u0438\u0437\u043e\u0432\u0430\u043d\u043d\u044b\u0439 \u043a\u043e\u043d\u0441\u043f\u0435\u043a\u0442 \u043b\u0435\u043a\u0446\u0438\u0439 \u0421\u0442\u044d\u043d\u0444\u043e\u0440\u0434\u0441\u043a\u043e\u0433\u043e \u0443\u043d\u0438\u0432\u0435\u0440\u0441\u0438\u0442\u0435\u0442\u0430 \" \u0420\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0430 iOS \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439\" 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021 , 2023,  2024,  2025  \u0438 2026 \u0433\u0433., \u0441\u043e\u043f\u0440\u043e\u0432\u043e\u0436\u0434\u0430\u0435\u043c\u044b\u0439 \u0440\u0435\u0448\u0435\u043d\u0438\u044f\u043c\u0438 \u0437\u0430\u0434\u0430\u043d\u0438\u0439 \u0438 \u0434\u043e\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f\u043c\u0438, \u0441\u0432\u044f\u0437\u0430\u043d\u043d\u044b\u043c\u0438 \u0441 \u0430\u0434\u0430\u043f\u0442\u0430\u0446\u0438\u0435\u0439 \u043a\u0443\u0440\u0441\u043e\u0432 \u043a \u043d\u043e\u0432\u044b\u043c \u0432\u0435\u0440\u0441\u0438\u044f\u043c Swift, Objective-C \u0438 iOS.","inLanguage":"ru-RU","publisher":{"@id":"https:\/\/bestkora.com\/IosDeveloper\/#person"}}]},"og:locale":"ru_RU","og:site_name":"\u041e\u0431\u0443\u0447\u0430\u044e\u0449\u0438\u0439 \u043a\u0443\u0440\u0441 \u043f\u043e \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0435 iOS+Swift \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439. | \u0420\u0443\u0441\u0441\u043a\u0438\u0439 \u043d\u0435\u0430\u0432\u0442\u043e\u0440\u0438\u0437\u043e\u0432\u0430\u043d\u043d\u044b\u0439 \u043a\u043e\u043d\u0441\u043f\u0435\u043a\u0442 \u043b\u0435\u043a\u0446\u0438\u0439 \u0421\u0442\u044d\u043d\u0444\u043e\u0440\u0434\u0441\u043a\u043e\u0433\u043e \u0443\u043d\u0438\u0432\u0435\u0440\u0441\u0438\u0442\u0435\u0442\u0430 &quot; \u0420\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0430 iOS \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439&quot; 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021 , 2023,  2024,  2025  \u0438 2026 \u0433\u0433., \u0441\u043e\u043f\u0440\u043e\u0432\u043e\u0436\u0434\u0430\u0435\u043c\u044b\u0439 \u0440\u0435\u0448\u0435\u043d\u0438\u044f\u043c\u0438 \u0437\u0430\u0434\u0430\u043d\u0438\u0439 \u0438 \u0434\u043e\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f\u043c\u0438, \u0441\u0432\u044f\u0437\u0430\u043d\u043d\u044b\u043c\u0438 \u0441 \u0430\u0434\u0430\u043f\u0442\u0430\u0446\u0438\u0435\u0439 \u043a\u0443\u0440\u0441\u043e\u0432 \u043a \u043d\u043e\u0432\u044b\u043c \u0432\u0435\u0440\u0441\u0438\u044f\u043c Swift, Objective-C \u0438 iOS.","og:type":"article","og:title":"\u041f\u0430\u0440\u0441\u0438\u043c JSON \u0432 Swift 4 \u043d\u0430 \u043f\u0440\u0438\u043c\u0435\u0440\u0430\u0445. | \u041e\u0431\u0443\u0447\u0430\u044e\u0449\u0438\u0439 \u043a\u0443\u0440\u0441 \u043f\u043e \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0435 iOS+Swift \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439.","og:description":"\u0432 Swift 4 - \u044d\u0442\u043e \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b Codable, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442 \u0441\u043e\u0431\u043e\u0439 typealias \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b\u043e\u0432 Encodable \u0438 Decodable, \u0438 \u043a\u043b\u0430\u0441\u0441\u044b JSONDecode \u0438 JSONEncode. \u0411\u043b\u0430\u0433\u043e\u0434\u0430\u0440\u044f \u044d\u0442\u043e\u043c\u0443 \u0432\u044b \u0442\u0435\u043f\u0435\u0440\u044c \u043c\u043e\u0436\u0435\u0442\u0435 \u043f\u0440\u0435\u043e\u0431\u0440\u0430\u0437\u043e\u0432\u044b\u0432\u0430\u0442\u044c \u043c\u043d\u043e\u0436\u0435\u0441\u0442\u0432\u043e JSON \u043e\u0431\u044a\u0435\u043a\u0442\u043e\u0432, \u0430 \u0442\u0430\u043a\u0436\u0435 Property Lists \u0432 \u044d\u043a\u0432\u0438\u0432\u0430\u043b\u0435\u043d\u0442\u043d\u044b\u0435 \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u044b Struct \u0438 \u043a\u043b\u0430\u0441\u0441\u044b Class \u0431\u0435\u0437 \u0435\u0434\u0438\u043d\u043e\u0439 \u0441\u0442\u0440\u043e\u043a\u0438 \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0433\u043e \u043a\u043e\u0434\u0430.","og:url":"https:\/\/bestkora.com\/IosDeveloper\/swift-4-parsim-json\/","article:published_time":"2017-08-28T07:07:51+00:00","article:modified_time":"2017-09-08T09:47:10+00:00","twitter:card":"summary","twitter:title":"\u041f\u0430\u0440\u0441\u0438\u043c JSON \u0432 Swift 4 \u043d\u0430 \u043f\u0440\u0438\u043c\u0435\u0440\u0430\u0445. | \u041e\u0431\u0443\u0447\u0430\u044e\u0449\u0438\u0439 \u043a\u0443\u0440\u0441 \u043f\u043e \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0435 iOS+Swift \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439.","twitter:description":"\u0432 Swift 4 - \u044d\u0442\u043e \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b Codable, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442 \u0441\u043e\u0431\u043e\u0439 typealias \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b\u043e\u0432 Encodable \u0438 Decodable, \u0438 \u043a\u043b\u0430\u0441\u0441\u044b JSONDecode \u0438 JSONEncode. \u0411\u043b\u0430\u0433\u043e\u0434\u0430\u0440\u044f \u044d\u0442\u043e\u043c\u0443 \u0432\u044b \u0442\u0435\u043f\u0435\u0440\u044c \u043c\u043e\u0436\u0435\u0442\u0435 \u043f\u0440\u0435\u043e\u0431\u0440\u0430\u0437\u043e\u0432\u044b\u0432\u0430\u0442\u044c \u043c\u043d\u043e\u0436\u0435\u0441\u0442\u0432\u043e JSON \u043e\u0431\u044a\u0435\u043a\u0442\u043e\u0432, \u0430 \u0442\u0430\u043a\u0436\u0435 Property Lists \u0432 \u044d\u043a\u0432\u0438\u0432\u0430\u043b\u0435\u043d\u0442\u043d\u044b\u0435 \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u044b Struct \u0438 \u043a\u043b\u0430\u0441\u0441\u044b Class \u0431\u0435\u0437 \u0435\u0434\u0438\u043d\u043e\u0439 \u0441\u0442\u0440\u043e\u043a\u0438 \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0433\u043e \u043a\u043e\u0434\u0430."},"aioseo_meta_data":{"post_id":"7995","title":"\u041f\u0430\u0440\u0441\u0438\u043c JSON \u0432 Swift 4 \u043d\u0430 \u043f\u0440\u0438\u043c\u0435\u0440\u0430\u0445. | #site_title","description":"\u0432 Swift 4 - \u044d\u0442\u043e \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b\u00a0Codable, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442 \u0441\u043e\u0431\u043e\u0439\u00a0typealias\u00a0\u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b\u043e\u0432 Encodable \u0438\u00a0Decodable, \u0438 \u043a\u043b\u0430\u0441\u0441\u044b JSONDecode \u0438 JSONEncode. \u0411\u043b\u0430\u0433\u043e\u0434\u0430\u0440\u044f \u044d\u0442\u043e\u043c\u0443 \u0432\u044b \u0442\u0435\u043f\u0435\u0440\u044c \u043c\u043e\u0436\u0435\u0442\u0435 \u043f\u0440\u0435\u043e\u0431\u0440\u0430\u0437\u043e\u0432\u044b\u0432\u0430\u0442\u044c \u043c\u043d\u043e\u0436\u0435\u0441\u0442\u0432\u043e JSON \u043e\u0431\u044a\u0435\u043a\u0442\u043e\u0432, \u0430 \u0442\u0430\u043a\u0436\u0435 Property Lists \u0432 \u044d\u043a\u0432\u0438\u0432\u0430\u043b\u0435\u043d\u0442\u043d\u044b\u0435 \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u044b Struct \u0438 \u043a\u043b\u0430\u0441\u0441\u044b Class \u0431\u0435\u0437 \u0435\u0434\u0438\u043d\u043e\u0439 \u0441\u0442\u0440\u043e\u043a\u0438 \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0433\u043e \u043a\u043e\u0434\u0430.","keywords":[{"label":"Swift 4","value":"Swift 4"},{"label":"Codable","value":"Codable"},{"label":"Decodable","value":"Decodable"},{"label":"Encodable","value":"Encodable"},{"label":"parse JSON","value":"parse JSON"},{"label":"JSONDecode","value":"JSONDecode"},{"label":"JSONEncode","value":"JSONEncode"},{"label":"Keyed Container","value":"Keyed Container"},{"label":"UnKeyed Container","value":"UnKeyed Container"},{"label":"\u00a0Single Value Container","value":"\u00a0Single Value Container"},{"label":"custom init (from decoder: Decoder)","value":"custom init (from decoder: Decoder)"}],"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"Article","isEnabled":true},"graphs":[]},"schema_type":null,"schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"breadcrumb_settings":null,"limit_modified_date":false,"ai":null,"created":"2020-12-21 06:37:59","updated":"2026-02-22 20:00:23","seo_analyzer_scan_date":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/bestkora.com\/IosDeveloper\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/bestkora.com\/IosDeveloper\/category\/swift\/\" title=\"Swift\">Swift<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t\u041f\u0430\u0440\u0441\u0438\u043c JSON \u0432 Swift 4 \u043d\u0430 \u043f\u0440\u0438\u043c\u0435\u0440\u0430\u0445.\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/bestkora.com\/IosDeveloper"},{"label":"Swift","link":"https:\/\/bestkora.com\/IosDeveloper\/category\/swift\/"},{"label":"\u041f\u0430\u0440\u0441\u0438\u043c JSON \u0432 Swift 4 \u043d\u0430 \u043f\u0440\u0438\u043c\u0435\u0440\u0430\u0445.","link":"https:\/\/bestkora.com\/IosDeveloper\/swift-4-parsim-json\/"}],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/bestkora.com\/IosDeveloper\/wp-json\/wp\/v2\/posts\/7995","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/bestkora.com\/IosDeveloper\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/bestkora.com\/IosDeveloper\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/bestkora.com\/IosDeveloper\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/bestkora.com\/IosDeveloper\/wp-json\/wp\/v2\/comments?post=7995"}],"version-history":[{"count":31,"href":"https:\/\/bestkora.com\/IosDeveloper\/wp-json\/wp\/v2\/posts\/7995\/revisions"}],"predecessor-version":[{"id":7997,"href":"https:\/\/bestkora.com\/IosDeveloper\/wp-json\/wp\/v2\/posts\/7995\/revisions\/7997"}],"wp:attachment":[{"href":"https:\/\/bestkora.com\/IosDeveloper\/wp-json\/wp\/v2\/media?parent=7995"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/bestkora.com\/IosDeveloper\/wp-json\/wp\/v2\/categories?post=7995"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/bestkora.com\/IosDeveloper\/wp-json\/wp\/v2\/tags?post=7995"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}