{"id":500,"date":"2022-10-05T05:12:52","date_gmt":"2022-10-04T23:42:52","guid":{"rendered":"https:\/\/jassweb.com\/new22\/solved-how-can-i-parse-each-items-into-its-on-uicollection-view-cell\/"},"modified":"2022-10-05T05:12:52","modified_gmt":"2022-10-04T23:42:52","slug":"solved-how-can-i-parse-each-items-into-its-on-uicollection-view-cell-2","status":"publish","type":"post","link":"https:\/\/jassweb.com\/solved\/solved-how-can-i-parse-each-items-into-its-on-uicollection-view-cell-2\/","title":{"rendered":"[Solved] How can I parse each items into it\u2019s on uicollection view cell"},"content":{"rendered":"<h2> Introduction <\/h2>\n<p>[ad_1]<\/p>\n<p>Parsing items into individual UICollectionView cells can be a great way to organize and display data in an efficient and visually appealing way. This tutorial will provide step-by-step instructions on how to parse items into individual UICollectionView cells. We will cover topics such as setting up the UICollectionView, creating custom cells, and populating the cells with data. By the end of this tutorial, you will have a better understanding of how to parse items into individual UICollectionView cells.<\/p>\n<h2> Solution<\/h2>\n<p><\/p>\n<p>You can parse each item into its own UICollectionViewCell by using the UICollectionViewDataSource methods. Specifically, you can use the cellForItemAtIndexPath method to create a UICollectionViewCell for each item in your data source. In this method, you can create a UICollectionViewCell for each item and configure it with the data from the item. <\/p>\n<p>For example, if you have an array of strings, you can create a UICollectionViewCell for each string and set the cell&#8217;s label to the string. <\/p>\n<p>You can also use the numberOfItemsInSection method to determine how many items you need to create UICollectionViewCells for. <\/p>\n<p>Finally, you can use the didSelectItemAtIndexPath method to handle user interactions with the UICollectionViewCells. <\/p>\n<p><\/p>\n<div class=\"entry-content\" itemprop=\"text\">\n<script async src=\"https:\/\/pagead2.googlesyndication.com\/pagead\/js\/adsbygoogle.js?client=ca-pub-1088640234840270\" crossorigin=\"anonymous\"><\/script><br \/>\n<script><\/p>\n<p><\/script><\/p>\n<p><\/p>\n<div id=\"answer-46432873\" class=\"answer js-answer accepted-answer js-accepted-answer\" data-answerid=\"46432873\" data-parentid=\"46425131\" data-score=\"0\" data-position-on-page=\"1\" data-highest-scored=\"1\" data-question-has-accepted-highest-score=\"1\" itemprop=\"acceptedAnswer\" itemscope itemtype=\"https:\/\/schema.org\/Answer\">\n<div class=\"post-layout\">\n<div class=\"votecell post-layout--left\"><\/div>\n<div class=\"answercell post-layout--right\">\n<div class=\"s-prose js-post-body\" itemprop=\"text\">\n<p>Please check :<\/p>\n<p>OsuHomeController<\/p>\n<pre><code>let cellId = \"cellId\"\n\nstruct AnimeJsonStuff: Decodable {\n    let data: [AnimeDataArray]\n}\n\nstruct AnimeLinks: Codable {\n    var selfStr   : String?\n\n    private enum CodingKeys : String, CodingKey {\n        case selfStr     = \"self\"\n    }\n}\nstruct AnimeAttributes: Codable {\n    var createdAt   : String?\n    var slug : String?\n    let synopsis: String?\n\n    private enum CodingKeys : String, CodingKey {\n        case createdAt     = \"createdAt\"\n        case slug = \"slug\"\n        case synopsis = \"synopsis\"\n\n    }\n}\n\nstruct AnimeRelationships: Codable {\n    var links   : AnimeRelationshipsLinks?\n\n    private enum CodingKeys : String, CodingKey {\n        case links     = \"links\"\n    }\n}\n\nstruct AnimeRelationshipsLinks: Codable {\n    var selfStr   : String?\n    var related   : String?\n\n    private enum CodingKeys : String, CodingKey {\n        case selfStr     = \"self\"\n        case related     = \"related\"\n    }\n}\n\nstruct AnimeDataArray: Codable {\n    let id: String?\n    let type: String?\n    let links: AnimeLinks?\n    let attributes: AnimeAttributes?\n    let relationships: [String: AnimeRelationships]?\n\n\n    private enum CodingKeys: String, CodingKey {\n        case id = \"id\"\n        case type = \"type\"\n        case links = \"links\"\n        case attributes = \"attributes\"\n        case relationships = \"relationships\"\n\n    }\n}\n\nclass ViewController: UICollectionViewController, UICollectionViewDelegateFlowLayout {\n\n\n    var isDataLoaded = false\n    var animeNames: [String] = []\n    var animeSynopsis: [String] = []\n\n    override func viewDidLoad() {\n        super.viewDidLoad()\n\n            self.jsonDecoding()\n        \/\/ Do any additional setup after loading the view, typically from a nib.\n\n        navigationItem.title = \"Kitsu - Your anime feed\"\n\n        collectionView?.backgroundColor = UIColor(red:0.09, green:0.13, blue:0.19, alpha:1.0)\n        collectionView?.register(viewControllerCells.self, forCellWithReuseIdentifier: cellId)\n\n        collectionView?.delegate = self\n    }\n\n\n    override func collectionView(_ collectionView: UICollectionView, numberOfItemsInSection section: Int) -&gt; Int {\n        return animeNames.count\n    }\n\n    override func collectionView(_ collectionView: UICollectionView, cellForItemAt indexPath: IndexPath) -&gt; UICollectionViewCell {\n        let cell = collectionView.dequeueReusableCell(withReuseIdentifier: cellId, for: indexPath) as! viewControllerCells\n        cell.nameLabel.text = animeNames[indexPath.row]\n        cell.synopsis.text = animeSynopsis[indexPath.row]\n        return cell\n    }\n\n    func collectionView(_ collectionView: UICollectionView, layout collectionViewLayout: UICollectionViewLayout, sizeForItemAt indexPath: IndexPath) -&gt; CGSize {\n        return CGSize(width: 350, height: 150)\n    }\n\n    func collectionView(_ collectionView: UICollectionView, layout collectionViewLayout: UICollectionViewLayout, insetForSectionAt section: Int) -&gt; UIEdgeInsets {\n        return  UIEdgeInsets(top: 15, left: 0, bottom: 10, right: 0)\n    }\n\n    override func didReceiveMemoryWarning() {\n        super.didReceiveMemoryWarning()\n        \/\/ Dispose of any resources that can be recreated.\n    }\n\n\n    func jsonDecoding() {\n        let jsonUrlString = \"https:\/\/kitsu.io\/api\/edge\/anime\"\n\n        guard let url = URL(string: jsonUrlString) else {return}\n        URLSession.shared.dataTask(with: url) { (data, response, err) in\n            guard let data = data else {return}\n            do {\n                let animeJsonStuff =  try JSONDecoder().decode(AnimeJsonStuff.self, from: data)\n                for anime in animeJsonStuff.data {\n                    \/\/   print(anime.id)\n                    \/\/    print(anime.type)\n                    \/\/   print(anime.links?.selfStr)\n                    if let animeName = anime.attributes?.slug {\n                        self.animeNames.append(animeName)\n                    } else {\n                        self.animeNames.append(\"-\")\n                    }\n                    if let animeSynop = anime.attributes?.synopsis {\n                        self.animeSynopsis.append(animeSynop)\n                    } else {\n                        self.animeSynopsis.append(\"-\")\n                    }\n\n                    for (key, value) in anime.relationships! {\n                        \/\/   print(key)\n                        \/\/   print(value.links?.selfStr)\n                        \/\/    print(value.links?.related)\n                    }\n                }\n                self.isDataLoaded = true\n                DispatchQueue.main.async {\n                    self.collectionView?.reloadData()\n                }\n            } catch let jsonErr {\n                print(\"Error serializing json\", jsonErr)\n            }\n        }.resume()\n    }   \n}\n<\/code><\/pre>\n<p>viewControllerCells<\/p>\n<pre><code>class viewControllerCells: UICollectionViewCell {\n\n    let nameLabel: UILabel = {\n        let label = UILabel()\n        label.textColor = UIColor.black\n\n        return label\n    }()\n    let profileImageView: UIImageView = {\n        let imageView = UIImageView()\n        imageView.contentMode = .scaleAspectFit\n        return imageView\n    }()\n\n    let synopsis: UILabel = {\n        let label = UILabel()\n        label.textColor = UIColor.black\n\n        return label\n    }()\n\n\n    override init(frame: CGRect) {\n        super.init(frame: frame)\n        setupViews()\n        self.layer.shadowOpacity = 0.05\n        self.layer.shadowRadius = 0.05\n        self.layer.cornerRadius = 1\n\n\n\n    }\n\n    required init?(coder aDecoder: NSCoder) {\n        fatalError(\"init(coder:) has not been implemented\")\n    }\n\n    func setupViews() {\n        backgroundColor = UIColor(red:0.86, green:0.87, blue:0.89, alpha:1.0)\n        addSubview(nameLabel.self)\n        addSubview(synopsis.self)\n        addConstraintsWithFormat(\"H:|-18-[v0]|\", views: synopsis)\n        addConstraintsWithFormat(\"V:|-8-[v0]|\", views: synopsis)\n        addConstraintsWithFormat(\"H:|-12-[v0]|\", views: nameLabel)\n    }\n}\n\nextension UIColor {\n\n    static func rgb(_ red: CGFloat, green: CGFloat, blue: CGFloat) -&gt; UIColor {\n        return UIColor(red: red\/255, green: green\/255, blue: blue\/255, alpha: 1)\n    }\n\n}\n\nextension UIView {\n\n    func addConstraintsWithFormat(_ format: String, views: UIView...) {\n        var viewsDictionary = [String: UIView]()\n        for (index, view) in views.enumerated() {\n            let key = \"v\\(index)\"\n            viewsDictionary[key] = view\n            view.translatesAutoresizingMaskIntoConstraints = false\n        }\n\n        addConstraints(NSLayoutConstraint.constraints(withVisualFormat: format, options: NSLayoutFormatOptions(), metrics: nil, views: viewsDictionary))\n    }\n}\n<\/code><\/pre>\n<\/div>\n<div class=\"mt24\"><\/div>\n<\/div>\n<p> <span class=\"d-none\" itemprop=\"commentCount\"><\/span> <\/p>\n<\/div>\n<\/div>\n<p>solved How can I parse each items into it\u2019s on uicollection view cell <\/p>\n<p><script async src=\"https:\/\/pagead2.googlesyndication.com\/pagead\/js\/adsbygoogle.js?client=ca-pub-1088640234840270\" crossorigin=\"anonymous\"><\/script><br \/>\n<script><\/p>\n<p><\/script><\/div>\n<p>[ad_2]<\/p>\n<p>If you want to parse each item into its own UICollectionViewCell, you will need to create a custom UICollectionViewCell subclass. This subclass should contain the properties and methods necessary to parse the item into the cell. You can then use the UICollectionViewDataSource methods to populate the cells with the items.<\/p>\n<p>To create the custom UICollectionViewCell subclass, you will need to create a new class in your project. This class should inherit from UICollectionViewCell and should contain the properties and methods necessary to parse the item into the cell. For example, you may need to create a method to parse the item into the cell&#8217;s UI elements, such as labels, images, and buttons.<\/p>\n<p>Once you have created the custom UICollectionViewCell subclass, you can use the UICollectionViewDataSource methods to populate the cells with the items. The UICollectionViewDataSource methods provide the necessary information to populate the cells with the items. For example, the cellForItemAtIndexPath: method provides the necessary information to create the cell and populate it with the item.<\/p>\n<p>Once you have populated the cells with the items, you can use the UICollectionViewDelegate methods to handle user interactions with the cells. For example, the didSelectItemAtIndexPath: method provides the necessary information to handle user interactions with the cell.<\/p>\n<p>By creating a custom UICollectionViewCell subclass and using the UICollectionViewDataSource and UICollectionViewDelegate methods, you can parse each item into its own UICollectionViewCell. This will allow you to create a more customized and interactive user experience.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Introduction [ad_1] Parsing items into individual UICollectionView cells can be a great way to organize and display data in an efficient and visually appealing way. This tutorial will provide step-by-step instructions on how to parse items into individual UICollectionView cells. We will cover topics such as setting up the UICollectionView, creating custom cells, and populating &#8230; <a title=\"[Solved] How can I parse each items into it\u2019s on uicollection view cell\" class=\"read-more\" href=\"https:\/\/jassweb.com\/solved\/solved-how-can-i-parse-each-items-into-its-on-uicollection-view-cell-2\/\" aria-label=\"More on [Solved] How can I parse each items into it\u2019s on uicollection view cell\">Read more<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[320],"tags":[471,356,522,1619,545],"class_list":["post-500","post","type-post","status-publish","format-standard","hentry","category-solved","tag-ios","tag-json","tag-swift","tag-swift4","tag-uicollectionviewcell"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>[Solved] How can I parse each items into it\u2019s on uicollection view cell - JassWeb<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/jassweb.com\/solved\/solved-how-can-i-parse-each-items-into-its-on-uicollection-view-cell-2\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"[Solved] How can I parse each items into it\u2019s on uicollection view cell - JassWeb\" \/>\n<meta property=\"og:description\" content=\"Introduction [ad_1] Parsing items into individual UICollectionView cells can be a great way to organize and display data in an efficient and visually appealing way. This tutorial will provide step-by-step instructions on how to parse items into individual UICollectionView cells. We will cover topics such as setting up the UICollectionView, creating custom cells, and populating ... Read more\" \/>\n<meta property=\"og:url\" content=\"https:\/\/jassweb.com\/solved\/solved-how-can-i-parse-each-items-into-its-on-uicollection-view-cell-2\/\" \/>\n<meta property=\"og:site_name\" content=\"JassWeb\" \/>\n<meta property=\"article:published_time\" content=\"2022-10-04T23:42:52+00:00\" \/>\n<meta name=\"author\" content=\"Kirat\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Kirat\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/jassweb.com\/solved\/solved-how-can-i-parse-each-items-into-its-on-uicollection-view-cell-2\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/jassweb.com\/solved\/solved-how-can-i-parse-each-items-into-its-on-uicollection-view-cell-2\/\"},\"author\":{\"name\":\"Kirat\",\"@id\":\"https:\/\/jassweb.com\/solved\/#\/schema\/person\/65c9c7b7958150c0dc8371fa35dd7c31\"},\"headline\":\"[Solved] How can I parse each items into it\u2019s on uicollection view cell\",\"datePublished\":\"2022-10-04T23:42:52+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/jassweb.com\/solved\/solved-how-can-i-parse-each-items-into-its-on-uicollection-view-cell-2\/\"},\"wordCount\":464,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/jassweb.com\/solved\/#organization\"},\"keywords\":[\"ios\",\"json\",\"swift\",\"swift4\",\"uicollectionviewcell\"],\"articleSection\":[\"Solved\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/jassweb.com\/solved\/solved-how-can-i-parse-each-items-into-its-on-uicollection-view-cell-2\/\",\"url\":\"https:\/\/jassweb.com\/solved\/solved-how-can-i-parse-each-items-into-its-on-uicollection-view-cell-2\/\",\"name\":\"[Solved] How can I parse each items into it\u2019s on uicollection view cell - JassWeb\",\"isPartOf\":{\"@id\":\"https:\/\/jassweb.com\/solved\/#website\"},\"datePublished\":\"2022-10-04T23:42:52+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/jassweb.com\/solved\/solved-how-can-i-parse-each-items-into-its-on-uicollection-view-cell-2\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/jassweb.com\/solved\/solved-how-can-i-parse-each-items-into-its-on-uicollection-view-cell-2\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/jassweb.com\/solved\/solved-how-can-i-parse-each-items-into-its-on-uicollection-view-cell-2\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/jassweb.com\/solved\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"[Solved] How can I parse each items into it\u2019s on uicollection view cell\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/jassweb.com\/solved\/#website\",\"url\":\"https:\/\/jassweb.com\/solved\/\",\"name\":\"JassWeb\",\"description\":\"Build High-quality Websites\",\"publisher\":{\"@id\":\"https:\/\/jassweb.com\/solved\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/jassweb.com\/solved\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/jassweb.com\/solved\/#organization\",\"name\":\"Jass Web\",\"url\":\"https:\/\/jassweb.com\/solved\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/jassweb.com\/solved\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/jassweb.com\/wp-content\/uploads\/2021\/02\/jass-website-logo-1.png\",\"contentUrl\":\"https:\/\/jassweb.com\/wp-content\/uploads\/2021\/02\/jass-website-logo-1.png\",\"width\":693,\"height\":132,\"caption\":\"Jass Web\"},\"image\":{\"@id\":\"https:\/\/jassweb.com\/solved\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/jassweb.com\/solved\/#\/schema\/person\/65c9c7b7958150c0dc8371fa35dd7c31\",\"name\":\"Kirat\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/jassweb.com\/solved\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/jassweb.com\/solved\/wp-content\/litespeed\/avatar\/1261af3c9451399fa1336d28b98ea3bb.jpg?ver=1775193939\",\"contentUrl\":\"https:\/\/jassweb.com\/solved\/wp-content\/litespeed\/avatar\/1261af3c9451399fa1336d28b98ea3bb.jpg?ver=1775193939\",\"caption\":\"Kirat\"},\"sameAs\":[\"http:\/\/jassweb.com\"],\"url\":\"https:\/\/jassweb.com\/solved\/author\/jaspritsinghghumangmail-com\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"[Solved] How can I parse each items into it\u2019s on uicollection view cell - JassWeb","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/jassweb.com\/solved\/solved-how-can-i-parse-each-items-into-its-on-uicollection-view-cell-2\/","og_locale":"en_US","og_type":"article","og_title":"[Solved] How can I parse each items into it\u2019s on uicollection view cell - JassWeb","og_description":"Introduction [ad_1] Parsing items into individual UICollectionView cells can be a great way to organize and display data in an efficient and visually appealing way. This tutorial will provide step-by-step instructions on how to parse items into individual UICollectionView cells. We will cover topics such as setting up the UICollectionView, creating custom cells, and populating ... Read more","og_url":"https:\/\/jassweb.com\/solved\/solved-how-can-i-parse-each-items-into-its-on-uicollection-view-cell-2\/","og_site_name":"JassWeb","article_published_time":"2022-10-04T23:42:52+00:00","author":"Kirat","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Kirat","Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/jassweb.com\/solved\/solved-how-can-i-parse-each-items-into-its-on-uicollection-view-cell-2\/#article","isPartOf":{"@id":"https:\/\/jassweb.com\/solved\/solved-how-can-i-parse-each-items-into-its-on-uicollection-view-cell-2\/"},"author":{"name":"Kirat","@id":"https:\/\/jassweb.com\/solved\/#\/schema\/person\/65c9c7b7958150c0dc8371fa35dd7c31"},"headline":"[Solved] How can I parse each items into it\u2019s on uicollection view cell","datePublished":"2022-10-04T23:42:52+00:00","mainEntityOfPage":{"@id":"https:\/\/jassweb.com\/solved\/solved-how-can-i-parse-each-items-into-its-on-uicollection-view-cell-2\/"},"wordCount":464,"commentCount":0,"publisher":{"@id":"https:\/\/jassweb.com\/solved\/#organization"},"keywords":["ios","json","swift","swift4","uicollectionviewcell"],"articleSection":["Solved"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/jassweb.com\/solved\/solved-how-can-i-parse-each-items-into-its-on-uicollection-view-cell-2\/","url":"https:\/\/jassweb.com\/solved\/solved-how-can-i-parse-each-items-into-its-on-uicollection-view-cell-2\/","name":"[Solved] How can I parse each items into it\u2019s on uicollection view cell - JassWeb","isPartOf":{"@id":"https:\/\/jassweb.com\/solved\/#website"},"datePublished":"2022-10-04T23:42:52+00:00","breadcrumb":{"@id":"https:\/\/jassweb.com\/solved\/solved-how-can-i-parse-each-items-into-its-on-uicollection-view-cell-2\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/jassweb.com\/solved\/solved-how-can-i-parse-each-items-into-its-on-uicollection-view-cell-2\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/jassweb.com\/solved\/solved-how-can-i-parse-each-items-into-its-on-uicollection-view-cell-2\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/jassweb.com\/solved\/"},{"@type":"ListItem","position":2,"name":"[Solved] How can I parse each items into it\u2019s on uicollection view cell"}]},{"@type":"WebSite","@id":"https:\/\/jassweb.com\/solved\/#website","url":"https:\/\/jassweb.com\/solved\/","name":"JassWeb","description":"Build High-quality Websites","publisher":{"@id":"https:\/\/jassweb.com\/solved\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/jassweb.com\/solved\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/jassweb.com\/solved\/#organization","name":"Jass Web","url":"https:\/\/jassweb.com\/solved\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/jassweb.com\/solved\/#\/schema\/logo\/image\/","url":"https:\/\/jassweb.com\/wp-content\/uploads\/2021\/02\/jass-website-logo-1.png","contentUrl":"https:\/\/jassweb.com\/wp-content\/uploads\/2021\/02\/jass-website-logo-1.png","width":693,"height":132,"caption":"Jass Web"},"image":{"@id":"https:\/\/jassweb.com\/solved\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/jassweb.com\/solved\/#\/schema\/person\/65c9c7b7958150c0dc8371fa35dd7c31","name":"Kirat","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/jassweb.com\/solved\/#\/schema\/person\/image\/","url":"https:\/\/jassweb.com\/solved\/wp-content\/litespeed\/avatar\/1261af3c9451399fa1336d28b98ea3bb.jpg?ver=1775193939","contentUrl":"https:\/\/jassweb.com\/solved\/wp-content\/litespeed\/avatar\/1261af3c9451399fa1336d28b98ea3bb.jpg?ver=1775193939","caption":"Kirat"},"sameAs":["http:\/\/jassweb.com"],"url":"https:\/\/jassweb.com\/solved\/author\/jaspritsinghghumangmail-com\/"}]}},"_links":{"self":[{"href":"https:\/\/jassweb.com\/solved\/wp-json\/wp\/v2\/posts\/500","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/jassweb.com\/solved\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/jassweb.com\/solved\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/jassweb.com\/solved\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/jassweb.com\/solved\/wp-json\/wp\/v2\/comments?post=500"}],"version-history":[{"count":0,"href":"https:\/\/jassweb.com\/solved\/wp-json\/wp\/v2\/posts\/500\/revisions"}],"wp:attachment":[{"href":"https:\/\/jassweb.com\/solved\/wp-json\/wp\/v2\/media?parent=500"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/jassweb.com\/solved\/wp-json\/wp\/v2\/categories?post=500"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/jassweb.com\/solved\/wp-json\/wp\/v2\/tags?post=500"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}