{"id":6016,"date":"2022-08-31T23:39:39","date_gmt":"2022-08-31T18:09:39","guid":{"rendered":"https:\/\/jassweb.com\/solved\/solved-like-clause-issue-in-c-but-works-in-sql-server-express\/"},"modified":"2022-08-31T23:39:39","modified_gmt":"2022-08-31T18:09:39","slug":"solved-like-clause-issue-in-c-but-works-in-sql-server-express","status":"publish","type":"post","link":"https:\/\/jassweb.com\/solved\/solved-like-clause-issue-in-c-but-works-in-sql-server-express\/","title":{"rendered":"[Solved] LIKE clause issue in c# but works in SQL Server Express"},"content":{"rendered":"<p> [ad_1]<br \/>\n<\/p>\n<div id=\"answer-41186480\" class=\"answer js-answer accepted-answer js-accepted-answer\" data-answerid=\"41186480\" data-parentid=\"41041719\" data-score=\"1\" data-position-on-page=\"2\" 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>I edited my answer as it didn&#8217;t provide enough clarity as pointed out by a moderator as the source link I mentioned could run the risk of being deleted. If you need further clarity, the link will be in this explanation. Ok the a work around was using the guide of this user from <a rel=\"nofollow noopener\" target=\"_blank\" href=\"https:\/\/www.codeproject.com\/tips\/631196\/combobox-with-suggest-ability-based-on-substring-s\">here<\/a><br \/>\nWhat was done by the author was that of overriding the default combobox setting in winforms. I just found a way to tie it into my code and got it up and running. Hopefully this is of help to someone in the future. I will outline how it works <\/p>\n<pre><code>suggestComboBox.DataSource = new List&lt;person&gt;();\nsuggestComboBox.DisplayMember = \"Name\";\n\n\/\/ then you have to set the PropertySelector like this:\nsuggestComboBox.PropertySelector = collection =&gt; collection.Cast&lt;person&gt;      \n().Select(p =&gt; p.Name);\n\n\/\/ the class Person looks something like this:\nclass Person\n{\n  public string Name { get; set; }\n  public DateTime DateOfBirth { get; set; }\n  public int Height { get; set; }\n}&lt;\/person&gt;\n<\/code><\/pre>\n<p>And this is the Custom comboBox implementation:<\/p>\n<pre><code>public class SuggestComboBox : ComboBox\n{\n  #region fields and properties\n\nprivate readonly ListBox _suggLb = new ListBox { Visible = false, TabStop = false };\nprivate readonly BindingList&lt;string&gt; _suggBindingList = new BindingList&lt;string&gt;();\nprivate Expression&lt;Func&lt;ObjectCollection, IEnumerable&lt;string&gt;&gt;&gt; _propertySelector;\nprivate Func&lt;ObjectCollection, IEnumerable&lt;string&gt;&gt; _propertySelectorCompiled;\nprivate Expression&lt;Func&lt;string, string, bool&gt;&gt; _filterRule;\nprivate Func&lt;string, bool&gt; _filterRuleCompiled;\nprivate Expression&lt;Func&lt;string, string&gt;&gt; _suggestListOrderRule;\nprivate Func&lt;string, string&gt; _suggestListOrderRuleCompiled;\n\npublic int SuggestBoxHeight\n{\n    get { return _suggLb.Height; }\n    set { if (value &gt; 0) _suggLb.Height = value; }\n}\n\/\/\/ &lt;summary&gt;\n\/\/\/ If the item-type of the ComboBox is not string,\n\/\/\/ you can set here which property should be used\n\/\/\/ &lt;\/summary&gt;\npublic Expression&lt;Func&lt;ObjectCollection, IEnumerable&lt;string&gt;&gt;&gt; PropertySelector\n{\n    get { return _propertySelector; }\nset\n{\n    if (value == null) return;\n    _propertySelector = value;\n    _propertySelectorCompiled = value.Compile();\n}\n}\n\n\/\/\/&lt;summary&gt;\n\/\/\/ Lambda-Expression to determine the suggested items\n\/\/\/ (as Expression here because simple lamda (func) is not serializable)\n\/\/\/ &lt;para&gt;default: case-insensitive contains search&lt;\/para&gt;\n\/\/\/ &lt;para&gt;1st string: list item&lt;\/para&gt;\n\/\/\/ &lt;para&gt;2nd string: typed text&lt;\/para&gt;\n\/\/\/&lt;\/summary&gt;\npublic Expression&lt;Func&lt;string, string, bool&gt;&gt; FilterRule\n{\n    get { return _filterRule; }\n    set\n    {\n        if (value == null) return;\n        _filterRule = value;\n        _filterRuleCompiled = item =&gt; value.Compile()(item, Text);\n    }\n}\n\n\/\/\/&lt;summary&gt;\n\/\/\/ Lambda-Expression to order the suggested items\n\/\/\/ (as Expression here because simple lamda (func) is not serializable)\n\/\/\/ &lt;para&gt;default: alphabetic ordering&lt;\/para&gt;\n\/\/\/&lt;\/summary&gt;\npublic Expression&lt;Func&lt;string, string&gt;&gt; SuggestListOrderRule\n{\n    get { return _suggestListOrderRule; }\n    set\n    {\n        if (value == null) return;\n        _suggestListOrderRule = value;\n        _suggestListOrderRuleCompiled = value.Compile();\n    }\n}\n\n#endregion\n\n\/\/\/ &lt;summary&gt;\n\/\/\/ ctor\n\/\/\/ &lt;\/summary&gt;\npublic SuggestComboBox()\n{\n    \/\/ set the standard rules:\n    _filterRuleCompiled = s =&gt; s.ToLower().Contains(Text.Trim().ToLower());\n    _suggestListOrderRuleCompiled = s =&gt; s;\n    _propertySelectorCompiled = collection =&gt; collection.Cast&lt;string&gt;();\n\n    _suggLb.DataSource = _suggBindingList;\n    _suggLb.Click += SuggLbOnClick;\n\n    ParentChanged += OnParentChanged;\n}\n\n\/\/\/ &lt;summary&gt;\n\/\/\/ the magic happens here ;-)\n\/\/\/ &lt;\/summary&gt;\n\/\/\/ &lt;param name=\"e\"&gt;&lt;\/param&gt;\nprotected override void OnTextChanged(EventArgs e)\n{\n    base.OnTextChanged(e);\n\n    if (!Focused) return;\n\n    _suggBindingList.Clear();\n    _suggBindingList.RaiseListChangedEvents = false;\n    _propertySelectorCompiled(Items)\n         .Where(_filterRuleCompiled)\n         .OrderBy(_suggestListOrderRuleCompiled)\n         .ToList()\n         .ForEach(_suggBindingList.Add);\n    _suggBindingList.RaiseListChangedEvents = true;\n    _suggBindingList.ResetBindings();\n\n    _suggLb.Visible = _suggBindingList.Any(); \n\n    if (_suggBindingList.Count == 1 &amp;&amp;  \n                _suggBindingList.Single().Length == Text.Trim().Length)\n    {\n        Text = _suggBindingList.Single();\n        Select(0, Text.Length);\n        _suggLb.Visible = false;\n    }\n}\n\n\/\/\/ &lt;summary&gt;\n\/\/\/ suggest-ListBox is added to parent control\n\/\/\/ (in ctor parent isn't already assigned)\n\/\/\/ &lt;\/summary&gt;\n\/\/\/ &lt;param name=\"sender\"&gt;&lt;\/param&gt;\n\/\/\/ &lt;param name=\"e\"&gt;&lt;\/param&gt;\nprivate void OnParentChanged(object sender, EventArgs e)\n{\n    Parent.Controls.Add(_suggLb);\n    Parent.Controls.SetChildIndex(_suggLb, 0);\n    _suggLb.Top = Top + Height - 3;\n    _suggLb.Left = Left + 3;\n    _suggLb.Width = Width - 20;\n    _suggLb.Font = new Font(\"Segoe UI\", 9);\n}\n\nprotected override void OnLostFocus(EventArgs e)\n{\n    \/\/ _suggLb can only getting focused by clicking (because TabStop is off)\n    \/\/ --&gt; click-eventhandler 'SuggLbOnClick' is called\n    if (!_suggLb.Focused)\n        HideSuggBox();\n    base.OnLostFocus(e);\n}\nprotected override void OnLocationChanged(EventArgs e)\n{\nbase.OnLocationChanged(e);\n_suggLb.Top = Top + Height - 3;\n_suggLb.Left = Left + 3;\n}\nprotected override void OnSizeChanged(EventArgs e)\n{\nbase.OnSizeChanged(e);\n_suggLb.Width = Width - 20;\n}\n\nprivate void SuggLbOnClick(object sender, EventArgs eventArgs)\n{\n    Text = _suggLb.Text;\n    Focus();\n}\n\nprivate void HideSuggBox()\n{\n    _suggLb.Visible = false;\n}\n\nprotected override void OnDropDown(EventArgs e)\n{\n    HideSuggBox();\n    base.OnDropDown(e);\n}\n\n#region keystroke events\n\n\/\/\/ &lt;summary&gt;\n\/\/\/ if the suggest-ListBox is visible some keystrokes\n\/\/\/ should behave in a custom way\n\/\/\/ &lt;\/summary&gt;\n\/\/\/ &lt;param name=\"e\"&gt;&lt;\/param&gt;\nprotected override void OnPreviewKeyDown(PreviewKeyDownEventArgs e)\n{\n    if (!_suggLb.Visible)\n    {\n        base.OnPreviewKeyDown(e);\n        return;\n    }\n\n    switch (e.KeyCode)\n    {\n        case Keys.Down:\n            if (_suggLb.SelectedIndex &lt; _suggBindingList.Count - 1)\n                _suggLb.SelectedIndex++;\n            return;\n        case Keys.Up:\n            if (_suggLb.SelectedIndex &gt; 0)\n                _suggLb.SelectedIndex--;\n            return;\n        case Keys.Enter:\n            Text = _suggLb.Text;\n        Select(0, Text.Length);\n        _suggLb.Visible = false;\n            return;\n        case Keys.Escape:\n            HideSuggBox();\n            return;\n    }\n\n    base.OnPreviewKeyDown(e);\n}\n\nprivate static readonly Keys[] KeysToHandle  = new[] \n            { Keys.Down, Keys.Up, Keys.Enter, Keys.Escape };\nprotected override bool ProcessCmdKey(ref Message msg, Keys keyData)\n{\n    \/\/ the keysstrokes of our interest should not be processed be base class:\n    if (_suggLb.Visible &amp;&amp; KeysToHandle.Contains(keyData))\n        return true;\n    return base.ProcessCmdKey(ref msg, keyData);\n}\n\n#endregion\n<\/code><\/pre>\n<p>} <\/p>\n<\/p><\/div>\n<div class=\"mt24\"><\/div>\n<\/div>\n<p>            <span class=\"d-none\" itemprop=\"commentCount\">2<\/span> <\/p><\/div>\n<\/div>\n<p>[ad_2]<\/p>\n<p>solved LIKE clause issue in c# but works in SQL Server Express <\/p>\n","protected":false},"excerpt":{"rendered":"<p>[ad_1] I edited my answer as it didn&#8217;t provide enough clarity as pointed out by a moderator as the source link I mentioned could run the risk of being deleted. If you need further clarity, the link will be in this explanation. Ok the a work around was using the guide of this user from &#8230; <a title=\"[Solved] LIKE clause issue in c# but works in SQL Server Express\" class=\"read-more\" href=\"https:\/\/jassweb.com\/solved\/solved-like-clause-issue-in-c-but-works-in-sql-server-express\/\" aria-label=\"More on [Solved] LIKE clause issue in c# but works in SQL Server Express\">Read more<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[320],"tags":[324,500,959],"class_list":["post-6016","post","type-post","status-publish","format-standard","hentry","category-solved","tag-c","tag-sql-server","tag-winforms"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>[Solved] LIKE clause issue in c# but works in SQL Server Express - 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-like-clause-issue-in-c-but-works-in-sql-server-express\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"[Solved] LIKE clause issue in c# but works in SQL Server Express - JassWeb\" \/>\n<meta property=\"og:description\" content=\"[ad_1] I edited my answer as it didn&#8217;t provide enough clarity as pointed out by a moderator as the source link I mentioned could run the risk of being deleted. If you need further clarity, the link will be in this explanation. Ok the a work around was using the guide of this user from ... Read more\" \/>\n<meta property=\"og:url\" content=\"https:\/\/jassweb.com\/solved\/solved-like-clause-issue-in-c-but-works-in-sql-server-express\/\" \/>\n<meta property=\"og:site_name\" content=\"JassWeb\" \/>\n<meta property=\"article:published_time\" content=\"2022-08-31T18:09:39+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=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/jassweb.com\/solved\/solved-like-clause-issue-in-c-but-works-in-sql-server-express\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/jassweb.com\/solved\/solved-like-clause-issue-in-c-but-works-in-sql-server-express\/\"},\"author\":{\"name\":\"Kirat\",\"@id\":\"https:\/\/jassweb.com\/solved\/#\/schema\/person\/65c9c7b7958150c0dc8371fa35dd7c31\"},\"headline\":\"[Solved] LIKE clause issue in c# but works in SQL Server Express\",\"datePublished\":\"2022-08-31T18:09:39+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/jassweb.com\/solved\/solved-like-clause-issue-in-c-but-works-in-sql-server-express\/\"},\"wordCount\":138,\"publisher\":{\"@id\":\"https:\/\/jassweb.com\/solved\/#organization\"},\"keywords\":[\"c++\",\"sql-server\",\"winforms\"],\"articleSection\":[\"Solved\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/jassweb.com\/solved\/solved-like-clause-issue-in-c-but-works-in-sql-server-express\/\",\"url\":\"https:\/\/jassweb.com\/solved\/solved-like-clause-issue-in-c-but-works-in-sql-server-express\/\",\"name\":\"[Solved] LIKE clause issue in c# but works in SQL Server Express - JassWeb\",\"isPartOf\":{\"@id\":\"https:\/\/jassweb.com\/solved\/#website\"},\"datePublished\":\"2022-08-31T18:09:39+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/jassweb.com\/solved\/solved-like-clause-issue-in-c-but-works-in-sql-server-express\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/jassweb.com\/solved\/solved-like-clause-issue-in-c-but-works-in-sql-server-express\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/jassweb.com\/solved\/solved-like-clause-issue-in-c-but-works-in-sql-server-express\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/jassweb.com\/solved\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"[Solved] LIKE clause issue in c# but works in SQL Server Express\"}]},{\"@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=1776403586\",\"contentUrl\":\"https:\/\/jassweb.com\/solved\/wp-content\/litespeed\/avatar\/1261af3c9451399fa1336d28b98ea3bb.jpg?ver=1776403586\",\"caption\":\"Kirat\"},\"sameAs\":[\"http:\/\/jassweb.com\"],\"url\":\"https:\/\/jassweb.com\/solved\/author\/jaspritsinghghumangmail-com\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"[Solved] LIKE clause issue in c# but works in SQL Server Express - 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-like-clause-issue-in-c-but-works-in-sql-server-express\/","og_locale":"en_US","og_type":"article","og_title":"[Solved] LIKE clause issue in c# but works in SQL Server Express - JassWeb","og_description":"[ad_1] I edited my answer as it didn&#8217;t provide enough clarity as pointed out by a moderator as the source link I mentioned could run the risk of being deleted. If you need further clarity, the link will be in this explanation. Ok the a work around was using the guide of this user from ... Read more","og_url":"https:\/\/jassweb.com\/solved\/solved-like-clause-issue-in-c-but-works-in-sql-server-express\/","og_site_name":"JassWeb","article_published_time":"2022-08-31T18:09:39+00:00","author":"Kirat","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Kirat","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/jassweb.com\/solved\/solved-like-clause-issue-in-c-but-works-in-sql-server-express\/#article","isPartOf":{"@id":"https:\/\/jassweb.com\/solved\/solved-like-clause-issue-in-c-but-works-in-sql-server-express\/"},"author":{"name":"Kirat","@id":"https:\/\/jassweb.com\/solved\/#\/schema\/person\/65c9c7b7958150c0dc8371fa35dd7c31"},"headline":"[Solved] LIKE clause issue in c# but works in SQL Server Express","datePublished":"2022-08-31T18:09:39+00:00","mainEntityOfPage":{"@id":"https:\/\/jassweb.com\/solved\/solved-like-clause-issue-in-c-but-works-in-sql-server-express\/"},"wordCount":138,"publisher":{"@id":"https:\/\/jassweb.com\/solved\/#organization"},"keywords":["c++","sql-server","winforms"],"articleSection":["Solved"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/jassweb.com\/solved\/solved-like-clause-issue-in-c-but-works-in-sql-server-express\/","url":"https:\/\/jassweb.com\/solved\/solved-like-clause-issue-in-c-but-works-in-sql-server-express\/","name":"[Solved] LIKE clause issue in c# but works in SQL Server Express - JassWeb","isPartOf":{"@id":"https:\/\/jassweb.com\/solved\/#website"},"datePublished":"2022-08-31T18:09:39+00:00","breadcrumb":{"@id":"https:\/\/jassweb.com\/solved\/solved-like-clause-issue-in-c-but-works-in-sql-server-express\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/jassweb.com\/solved\/solved-like-clause-issue-in-c-but-works-in-sql-server-express\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/jassweb.com\/solved\/solved-like-clause-issue-in-c-but-works-in-sql-server-express\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/jassweb.com\/solved\/"},{"@type":"ListItem","position":2,"name":"[Solved] LIKE clause issue in c# but works in SQL Server Express"}]},{"@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=1776403586","contentUrl":"https:\/\/jassweb.com\/solved\/wp-content\/litespeed\/avatar\/1261af3c9451399fa1336d28b98ea3bb.jpg?ver=1776403586","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\/6016","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=6016"}],"version-history":[{"count":0,"href":"https:\/\/jassweb.com\/solved\/wp-json\/wp\/v2\/posts\/6016\/revisions"}],"wp:attachment":[{"href":"https:\/\/jassweb.com\/solved\/wp-json\/wp\/v2\/media?parent=6016"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/jassweb.com\/solved\/wp-json\/wp\/v2\/categories?post=6016"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/jassweb.com\/solved\/wp-json\/wp\/v2\/tags?post=6016"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}