<?xml version="1.0" encoding="iso-8859-9" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="https://syndication.webwiz.net/rss_namespace/">
 <channel>
  <title>Clomosy | Forum : Json yapısında Getitem kullanımı</title>
  <link>https://forum.clomosy.com.tr/</link>
  <description><![CDATA[XML içerik linki; Clomosy | Forum : Clomosy ile de&#287;i&#351;ken kullan&#305;m&#305; : Json yapısında Getitem kullanımı]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 15 Apr 2026 09:32:58 +0000</pubDate>
  <lastBuildDate>Wed, 10 Dec 2025 10:58:39 +0000</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 12.07</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>https://forum.clomosy.com.tr/RSS_post_feed.asp?TID=1241</WebWizForums:feedURL>
  <image>
   <title><![CDATA[Clomosy | Forum]]></title>
   <url>https://forum.clomosy.com.tr/forum_images/logo.png</url>
   <link>https://forum.clomosy.com.tr/</link>
  </image>
  <item>
   <title><![CDATA[Json yapısında Getitem kullanımı : Merhaba G&#252;ney a&#351;a&#287;&#305;da yer alan...]]></title>
   <link>https://forum.clomosy.com.tr/forum_posts.asp?TID=1241&amp;PID=2754#2754</link>
   <description>
    <![CDATA[<strong>Yazar:</strong> <a href="https://forum.clomosy.com.tr/member_profile.asp?PF=257">Emr.Erkmn</a><br /><strong>Konu:</strong> 1241<br /><strong>Gönderim Zamanı:</strong> 10&nbsp;Aralık&nbsp;2025 Saat 10:58<br /><br />Merhaba Güney aşağıda yer alan kodu deneyebilir misin?<br><br><p style="color: rgb36, 36, 36; font-size: 12pt; font-family: Aptos, sans-serif; margin: 0px;"><span -olk-copy-source="Message" style="border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; font-size: inherit; line-height: inherit; font-family: Calibri, sans-serif; font-optical-sizing: inherit; font-size-adjust: inherit; font-kerning: inherit; font-feature-settings: inherit; font-variati&#111;n-settings: inherit; font--override: inherit; margin: 0px; padding: 0px; vertical-align: line; color: inherit;">var</span></p><p style="color: rgb36, 36, 36; font-size: 12pt; font-family: Aptos, sans-serif; margin: 0px;"><span style="border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; font-size: inherit; line-height: inherit; font-family: Calibri, sans-serif; font-optical-sizing: inherit; font-size-adjust: inherit; font-kerning: inherit; font-feature-settings: inherit; font-variati&#111;n-settings: inherit; font--override: inherit; margin: 0px; padding: 0px; vertical-align: line; color: inherit;">&nbsp; MainForm: TclForm;</span></p><p style="color: rgb36, 36, 36; font-size: 12pt; font-family: Aptos, sans-serif; margin: 0px;"><span style="border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; font-size: inherit; line-height: inherit; font-family: Calibri, sans-serif; font-optical-sizing: inherit; font-size-adjust: inherit; font-kerning: inherit; font-feature-settings: inherit; font-variati&#111;n-settings: inherit; font--override: inherit; margin: 0px; padding: 0px; vertical-align: line; color: inherit;">&nbsp;</span></p><p style="color: rgb36, 36, 36; font-size: 12pt; font-family: Aptos, sans-serif; margin: 0px;"><span style="border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; font-size: inherit; line-height: inherit; font-family: Calibri, sans-serif; font-optical-sizing: inherit; font-size-adjust: inherit; font-kerning: inherit; font-feature-settings: inherit; font-variati&#111;n-settings: inherit; font--override: inherit; margin: 0px; padding: 0px; vertical-align: line; color: inherit;">void TestUpdateJsonValue;</span></p><p style="color: rgb36, 36, 36; font-size: 12pt; font-family: Aptos, sans-serif; margin: 0px;"><span style="border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; font-size: inherit; line-height: inherit; font-family: Calibri, sans-serif; font-optical-sizing: inherit; font-size-adjust: inherit; font-kerning: inherit; font-feature-settings: inherit; font-variati&#111;n-settings: inherit; font--override: inherit; margin: 0px; padding: 0px; vertical-align: line; color: inherit;">var</span></p><p style="color: rgb36, 36, 36; font-size: 12pt; font-family: Aptos, sans-serif; margin: 0px;"><span style="border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; font-size: inherit; line-height: inherit; font-family: Calibri, sans-serif; font-optical-sizing: inherit; font-size-adjust: inherit; font-kerning: inherit; font-feature-settings: inherit; font-variati&#111;n-settings: inherit; font--override: inherit; margin: 0px; padding: 0px; vertical-align: line; color: inherit;">&nbsp; OrderListArrRef: TCLJSONArray;</span></p><p style="color: rgb36, 36, 36; font-size: 12pt; font-family: Aptos, sans-serif; margin: 0px;"><span style="border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; font-size: inherit; line-height: inherit; font-family: Calibri, sans-serif; font-optical-sizing: inherit; font-size-adjust: inherit; font-kerning: inherit; font-feature-settings: inherit; font-variati&#111;n-settings: inherit; font--override: inherit; margin: 0px; padding: 0px; vertical-align: line; color: inherit;">&nbsp; ExistingItem: TCLJSONObject;</span></p><p style="color: rgb36, 36, 36; font-size: 12pt; font-family: Aptos, sans-serif; margin: 0px;"><span style="border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; font-size: inherit; line-height: inherit; font-family: Calibri, sans-serif; font-optical-sizing: inherit; font-size-adjust: inherit; font-kerning: inherit; font-feature-settings: inherit; font-variati&#111;n-settings: inherit; font--override: inherit; margin: 0px; padding: 0px; vertical-align: line; color: inherit;">&nbsp; J, TargetItemID, NewAmount, FoundIndex: Integer;</span></p><p style="color: rgb36, 36, 36; font-size: 12pt; font-family: Aptos, sans-serif; margin: 0px;"><span style="border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; font-size: inherit; line-height: inherit; font-family: Calibri, sans-serif; font-optical-sizing: inherit; font-size-adjust: inherit; font-kerning: inherit; font-feature-settings: inherit; font-variati&#111;n-settings: inherit; font--override: inherit; margin: 0px; padding: 0px; vertical-align: line; color: inherit;">{</span></p><p style="color: rgb36, 36, 36; font-size: 12pt; font-family: Aptos, sans-serif; margin: 0px;"><span style="border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; font-size: inherit; line-height: inherit; font-family: Calibri, sans-serif; font-optical-sizing: inherit; font-size-adjust: inherit; font-kerning: inherit; font-feature-settings: inherit; font-variati&#111;n-settings: inherit; font--override: inherit; margin: 0px; padding: 0px; vertical-align: line; color: inherit;">&nbsp; try</span></p><p style="color: rgb36, 36, 36; font-size: 12pt; font-family: Aptos, sans-serif; margin: 0px;"><span style="border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; font-size: inherit; line-height: inherit; font-family: Calibri, sans-serif; font-optical-sizing: inherit; font-size-adjust: inherit; font-kerning: inherit; font-feature-settings: inherit; font-variati&#111;n-settings: inherit; font--override: inherit; margin: 0px; padding: 0px; vertical-align: line; color: inherit;">&nbsp;&nbsp;&nbsp; // 1. Setup: Create a sample JSON Array</span></p><p style="color: rgb36, 36, 36; font-size: 12pt; font-family: Aptos, sans-serif; margin: 0px;"><span style="border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; font-size: inherit; line-height: inherit; font-family: Calibri, sans-serif; font-optical-sizing: inherit; font-size-adjust: inherit; font-kerning: inherit; font-feature-settings: inherit; font-variati&#111;n-settings: inherit; font--override: inherit; margin: 0px; padding: 0px; vertical-align: line; color: inherit;">&nbsp;&nbsp;&nbsp; OrderListArrRef = TCLJSONArray.CreateFromJSON('&#091;{"item_id": 27, "amount": 4}, {"item_id": 13, "amount": 1}&#093;');</span></p><p style="color: rgb36, 36, 36; font-size: 12pt; font-family: Aptos, sans-serif; margin: 0px;"><span style="border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; font-size: inherit; line-height: inherit; font-family: Calibri, sans-serif; font-optical-sizing: inherit; font-size-adjust: inherit; font-kerning: inherit; font-feature-settings: inherit; font-variati&#111;n-settings: inherit; font--override: inherit; margin: 0px; padding: 0px; vertical-align: line; color: inherit;">&nbsp;&nbsp;&nbsp;</span></p><p style="color: rgb36, 36, 36; font-size: 12pt; font-family: Aptos, sans-serif; margin: 0px;"><span style="border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; font-size: inherit; line-height: inherit; font-family: Calibri, sans-serif; font-optical-sizing: inherit; font-size-adjust: inherit; font-kerning: inherit; font-feature-settings: inherit; font-variati&#111;n-settings: inherit; font--override: inherit; margin: 0px; padding: 0px; vertical-align: line; color: inherit;">&nbsp;&nbsp;&nbsp;&nbsp;// 2. Define Test Data</span></p><p style="color: rgb36, 36, 36; font-size: 12pt; font-family: Aptos, sans-serif; margin: 0px;"><span style="border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; font-size: inherit; line-height: inherit; font-family: Calibri, sans-serif; font-optical-sizing: inherit; font-size-adjust: inherit; font-kerning: inherit; font-feature-settings: inherit; font-variati&#111;n-settings: inherit; font--override: inherit; margin: 0px; padding: 0px; vertical-align: line; color: inherit;">&nbsp;&nbsp;&nbsp; TargetItemID = 27;&nbsp; // We want to change item 27</span></p><p style="color: rgb36, 36, 36; font-size: 12pt; font-family: Aptos, sans-serif; margin: 0px;"><span style="border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; font-size: inherit; line-height: inherit; font-family: Calibri, sans-serif; font-optical-sizing: inherit; font-size-adjust: inherit; font-kerning: inherit; font-feature-settings: inherit; font-variati&#111;n-settings: inherit; font--override: inherit; margin: 0px; padding: 0px; vertical-align: line; color: inherit;">&nbsp;&nbsp;&nbsp; NewAmount = 99;&nbsp;&nbsp;&nbsp;&nbsp; // We want to change amount from 4 to 99</span></p><p style="color: rgb36, 36, 36; font-size: 12pt; font-family: Aptos, sans-serif; margin: 0px;"><span style="border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; font-size: inherit; line-height: inherit; font-family: Calibri, sans-serif; font-optical-sizing: inherit; font-size-adjust: inherit; font-kerning: inherit; font-feature-settings: inherit; font-variati&#111;n-settings: inherit; font--override: inherit; margin: 0px; padding: 0px; vertical-align: line; color: inherit;">&nbsp;&nbsp;&nbsp; FoundIndex = -1;</span></p><p style="color: rgb36, 36, 36; font-size: 12pt; font-family: Aptos, sans-serif; margin: 0px;"><span style="border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; font-size: inherit; line-height: inherit; font-family: Calibri, sans-serif; font-optical-sizing: inherit; font-size-adjust: inherit; font-kerning: inherit; font-feature-settings: inherit; font-variati&#111;n-settings: inherit; font--override: inherit; margin: 0px; padding: 0px; vertical-align: line; color: inherit;">&nbsp;</span></p><p style="color: rgb36, 36, 36; font-size: 12pt; font-family: Aptos, sans-serif; margin: 0px;"><span style="border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; font-size: inherit; line-height: inherit; font-family: Calibri, sans-serif; font-optical-sizing: inherit; font-size-adjust: inherit; font-kerning: inherit; font-feature-settings: inherit; font-variati&#111;n-settings: inherit; font--override: inherit; margin: 0px; padding: 0px; vertical-align: line; color: inherit;">&nbsp;&nbsp;&nbsp; ShowMessage('Before Update: ' + OrderListArrRef.ToJSONString);</span></p><p style="color: rgb36, 36, 36; font-size: 12pt; font-family: Aptos, sans-serif; margin: 0px;"><span style="border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; font-size: inherit; line-height: inherit; font-family: Calibri, sans-serif; font-optical-sizing: inherit; font-size-adjust: inherit; font-kerning: inherit; font-feature-settings: inherit; font-variati&#111;n-settings: inherit; font--override: inherit; margin: 0px; padding: 0px; vertical-align: line; color: inherit;">&nbsp;</span></p><p style="color: rgb36, 36, 36; font-size: 12pt; font-family: Aptos, sans-serif; margin: 0px;"><span style="border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; font-size: inherit; line-height: inherit; font-family: Calibri, sans-serif; font-optical-sizing: inherit; font-size-adjust: inherit; font-kerning: inherit; font-feature-settings: inherit; font-variati&#111;n-settings: inherit; font--override: inherit; margin: 0px; padding: 0px; vertical-align: line; color: inherit;">&nbsp;&nbsp;&nbsp; // 3. Logic: Loop to find and update</span></p><p style="color: rgb36, 36, 36; font-size: 12pt; font-family: Aptos, sans-serif; margin: 0px;"><span style="border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; font-size: inherit; line-height: inherit; font-family: Calibri, sans-serif; font-optical-sizing: inherit; font-size-adjust: inherit; font-kerning: inherit; font-feature-settings: inherit; font-variati&#111;n-settings: inherit; font--override: inherit; margin: 0px; padding: 0px; vertical-align: line; color: inherit;">&nbsp;&nbsp;&nbsp; for (J = 0 to OrderListArrRef.Count - 1)</span></p><p style="color: rgb36, 36, 36; font-size: 12pt; font-family: Aptos, sans-serif; margin: 0px;"><span style="border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; font-size: inherit; line-height: inherit; font-family: Calibri, sans-serif; font-optical-sizing: inherit; font-size-adjust: inherit; font-kerning: inherit; font-feature-settings: inherit; font-variati&#111;n-settings: inherit; font--override: inherit; margin: 0px; padding: 0px; vertical-align: line; color: inherit;">&nbsp;&nbsp;&nbsp; {</span></p><p style="color: rgb36, 36, 36; font-size: 12pt; font-family: Aptos, sans-serif; margin: 0px;"><span style="border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; font-size: inherit; line-height: inherit; font-family: Calibri, sans-serif; font-optical-sizing: inherit; font-size-adjust: inherit; font-kerning: inherit; font-feature-settings: inherit; font-variati&#111;n-settings: inherit; font--override: inherit; margin: 0px; padding: 0px; vertical-align: line; color: inherit;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ShowMessage('TCLJSONValue: '+OrderListArrRef.GetItem(J).ToString);//GetItem Returns TCLJSONValue</span></p><p style="color: rgb36, 36, 36; font-size: 12pt; font-family: Aptos, sans-serif; margin: 0px;"><span style="border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; font-size: inherit; line-height: inherit; font-family: Calibri, sans-serif; font-optical-sizing: inherit; font-size-adjust: inherit; font-kerning: inherit; font-feature-settings: inherit; font-variati&#111;n-settings: inherit; font--override: inherit; margin: 0px; padding: 0px; vertical-align: line; color: inherit;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ExistingItem = TCLJSON.ParseToJsonObject(OrderListArrRef.GetItem(J).ToString);</span></p><p style="color: rgb36, 36, 36; font-size: 12pt; font-family: Aptos, sans-serif; margin: 0px;"><span style="border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; font-size: inherit; line-height: inherit; font-family: Calibri, sans-serif; font-optical-sizing: inherit; font-size-adjust: inherit; font-kerning: inherit; font-feature-settings: inherit; font-variati&#111;n-settings: inherit; font--override: inherit; margin: 0px; padding: 0px; vertical-align: line; color: inherit;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span></p><p style="color: rgb36, 36, 36; font-size: 12pt; font-family: Aptos, sans-serif; margin: 0px;"><span style="border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; font-size: inherit; line-height: inherit; font-family: Calibri, sans-serif; font-optical-sizing: inherit; font-size-adjust: inherit; font-kerning: inherit; font-feature-settings: inherit; font-variati&#111;n-settings: inherit; font--override: inherit; margin: 0px; padding: 0px; vertical-align: line; color: inherit;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span></p><p style="color: rgb36, 36, 36; font-size: 12pt; font-family: Aptos, sans-serif; margin: 0px;"><span style="border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; font-size: inherit; line-height: inherit; font-family: Calibri, sans-serif; font-optical-sizing: inherit; font-size-adjust: inherit; font-kerning: inherit; font-feature-settings: inherit; font-variati&#111;n-settings: inherit; font--override: inherit; margin: 0px; padding: 0px; vertical-align: line; color: inherit;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;// Check if IDs match</span></p><p style="color: rgb36, 36, 36; font-size: 12pt; font-family: Aptos, sans-serif; margin: 0px;"><span style="border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; font-size: inherit; line-height: inherit; font-family: Calibri, sans-serif; font-optical-sizing: inherit; font-size-adjust: inherit; font-kerning: inherit; font-feature-settings: inherit; font-variati&#111;n-settings: inherit; font--override: inherit; margin: 0px; padding: 0px; vertical-align: line; color: inherit;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if (ExistingItem.GetValue('item_id').AsInteger == TargetItemID )</span></p><p style="color: rgb36, 36, 36; font-size: 12pt; font-family: Aptos, sans-serif; margin: 0px;"><span style="border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; font-size: inherit; line-height: inherit; font-family: Calibri, sans-serif; font-optical-sizing: inherit; font-size-adjust: inherit; font-kerning: inherit; font-feature-settings: inherit; font-variati&#111;n-settings: inherit; font--override: inherit; margin: 0px; padding: 0px; vertical-align: line; color: inherit;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {</span></p><p style="color: rgb36, 36, 36; font-size: 12pt; font-family: Aptos, sans-serif; margin: 0px;"><span style="border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; font-size: inherit; line-height: inherit; font-family: Calibri, sans-serif; font-optical-sizing: inherit; font-size-adjust: inherit; font-kerning: inherit; font-feature-settings: inherit; font-variati&#111;n-settings: inherit; font--override: inherit; margin: 0px; padding: 0px; vertical-align: line; color: inherit;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; // --- First Remove After AddPair ---</span></p><p style="color: rgb36, 36, 36; font-size: 12pt; font-family: Aptos, sans-serif; margin: 0px;"><span style="border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; font-size: inherit; line-height: inherit; font-family: Calibri, sans-serif; font-optical-sizing: inherit; font-size-adjust: inherit; font-kerning: inherit; font-feature-settings: inherit; font-variati&#111;n-settings: inherit; font--override: inherit; margin: 0px; padding: 0px; vertical-align: line; color: inherit;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ShowMessage('ExistingItem before changing amount: '+ExistingItem.ToJSONString)</span></p><p style="color: rgb36, 36, 36; font-size: 12pt; font-family: Aptos, sans-serif; margin: 0px;"><span style="border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; font-size: inherit; line-height: inherit; font-family: Calibri, sans-serif; font-optical-sizing: inherit; font-size-adjust: inherit; font-kerning: inherit; font-feature-settings: inherit; font-variati&#111;n-settings: inherit; font--override: inherit; margin: 0px; padding: 0px; vertical-align: line; color: inherit;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; //ExistingItem.RemovePair('amount');&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; // Remove old value</span></p><p style="color: rgb36, 36, 36; font-size: 12pt; font-family: Aptos, sans-serif; margin: 0px;"><span style="border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; font-size: inherit; line-height: inherit; font-family: Calibri, sans-serif; font-optical-sizing: inherit; font-size-adjust: inherit; font-kerning: inherit; font-feature-settings: inherit; font-variati&#111;n-settings: inherit; font--override: inherit; margin: 0px; padding: 0px; vertical-align: line; color: inherit;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; //ExistingItem.AddPair('amount', TCLJSONValue.Int(NewAmount)); // Add new value</span></p><p style="color: rgb36, 36, 36; font-size: 12pt; font-family: Aptos, sans-serif; margin: 0px;"><span style="border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; font-size: inherit; line-height: inherit; font-family: Calibri, sans-serif; font-optical-sizing: inherit; font-size-adjust: inherit; font-kerning: inherit; font-feature-settings: inherit; font-variati&#111;n-settings: inherit; font--override: inherit; margin: 0px; padding: 0px; vertical-align: line; color: inherit;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; // ---------------------</span></p><p style="color: rgb36, 36, 36; font-size: 12pt; font-family: Aptos, sans-serif; margin: 0px;"><span style="border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; font-size: inherit; line-height: inherit; font-family: Calibri, sans-serif; font-optical-sizing: inherit; font-size-adjust: inherit; font-kerning: inherit; font-feature-settings: inherit; font-variati&#111;n-settings: inherit; font--override: inherit; margin: 0px; padding: 0px; vertical-align: line; color: inherit;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; // SetValue Clause</span></p><p style="color: rgb36, 36, 36; font-size: 12pt; font-family: Aptos, sans-serif; margin: 0px;"><span style="border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; font-size: inherit; line-height: inherit; font-family: Calibri, sans-serif; font-optical-sizing: inherit; font-size-adjust: inherit; font-kerning: inherit; font-feature-settings: inherit; font-variati&#111;n-settings: inherit; font--override: inherit; margin: 0px; padding: 0px; vertical-align: line; color: inherit;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; //ShowMessage(ExistingItem.ToJsonString)</span></p><p style="color: rgb36, 36, 36; font-size: 12pt; font-family: Aptos, sans-serif; margin: 0px;"><span style="border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; font-size: inherit; line-height: inherit; font-family: Calibri, sans-serif; font-optical-sizing: inherit; font-size-adjust: inherit; font-kerning: inherit; font-feature-settings: inherit; font-variati&#111;n-settings: inherit; font--override: inherit; margin: 0px; padding: 0px; vertical-align: line; color: inherit;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ExistingItem.SetValue('amount', TCLJSONValue.Int(NewAmount)); // Add new value</span></p><p style="color: rgb36, 36, 36; font-size: 12pt; font-family: Aptos, sans-serif; margin: 0px;"><span style="border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; font-size: inherit; line-height: inherit; font-family: Calibri, sans-serif; font-optical-sizing: inherit; font-size-adjust: inherit; font-kerning: inherit; font-feature-settings: inherit; font-variati&#111;n-settings: inherit; font--override: inherit; margin: 0px; padding: 0px; vertical-align: line; color: inherit;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span></p><p style="color: rgb36, 36, 36; font-size: 12pt; font-family: Aptos, sans-serif; margin: 0px;"><span style="border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; font-size: inherit; line-height: inherit; font-family: Calibri, sans-serif; font-optical-sizing: inherit; font-size-adjust: inherit; font-kerning: inherit; font-feature-settings: inherit; font-variati&#111;n-settings: inherit; font--override: inherit; margin: 0px; padding: 0px; vertical-align: line; color: inherit;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ShowMessage('ExistingItem: '+ExistingItem.ToJSONString)</span></p><p style="color: rgb36, 36, 36; font-size: 12pt; font-family: Aptos, sans-serif; margin: 0px;"><span style="border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; font-size: inherit; line-height: inherit; font-family: Calibri, sans-serif; font-optical-sizing: inherit; font-size-adjust: inherit; font-kerning: inherit; font-feature-settings: inherit; font-variati&#111;n-settings: inherit; font--override: inherit; margin: 0px; padding: 0px; vertical-align: line; color: inherit;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; OrderListArrRef.Remove(J);</span></p><p style="color: rgb36, 36, 36; font-size: 12pt; font-family: Aptos, sans-serif; margin: 0px;"><span style="border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; font-size: inherit; line-height: inherit; font-family: Calibri, sans-serif; font-optical-sizing: inherit; font-size-adjust: inherit; font-kerning: inherit; font-feature-settings: inherit; font-variati&#111;n-settings: inherit; font--override: inherit; margin: 0px; padding: 0px; vertical-align: line; color: inherit;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; OrderListArrRef.AddObject(ExistingItem);</span></p><p style="color: rgb36, 36, 36; font-size: 12pt; font-family: Aptos, sans-serif; margin: 0px;"><span style="border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; font-size: inherit; line-height: inherit; font-family: Calibri, sans-serif; font-optical-sizing: inherit; font-size-adjust: inherit; font-kerning: inherit; font-feature-settings: inherit; font-variati&#111;n-settings: inherit; font--override: inherit; margin: 0px; padding: 0px; vertical-align: line; color: inherit;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span></p><p style="color: rgb36, 36, 36; font-size: 12pt; font-family: Aptos, sans-serif; margin: 0px;"><span style="border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; font-size: inherit; line-height: inherit; font-family: Calibri, sans-serif; font-optical-sizing: inherit; font-size-adjust: inherit; font-kerning: inherit; font-feature-settings: inherit; font-variati&#111;n-settings: inherit; font--override: inherit; margin: 0px; padding: 0px; vertical-align: line; color: inherit;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;FoundIndex = J;</span></p><p style="color: rgb36, 36, 36; font-size: 12pt; font-family: Aptos, sans-serif; margin: 0px;"><span style="border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; font-size: inherit; line-height: inherit; font-family: Calibri, sans-serif; font-optical-sizing: inherit; font-size-adjust: inherit; font-kerning: inherit; font-feature-settings: inherit; font-variati&#111;n-settings: inherit; font--override: inherit; margin: 0px; padding: 0px; vertical-align: line; color: inherit;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Break; // Optimization: Stop once found</span></p><p style="color: rgb36, 36, 36; font-size: 12pt; font-family: Aptos, sans-serif; margin: 0px;"><span style="border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; font-size: inherit; line-height: inherit; font-family: Calibri, sans-serif; font-optical-sizing: inherit; font-size-adjust: inherit; font-kerning: inherit; font-feature-settings: inherit; font-variati&#111;n-settings: inherit; font--override: inherit; margin: 0px; padding: 0px; vertical-align: line; color: inherit;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }</span></p><p style="color: rgb36, 36, 36; font-size: 12pt; font-family: Aptos, sans-serif; margin: 0px;"><span style="border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; font-size: inherit; line-height: inherit; font-family: Calibri, sans-serif; font-optical-sizing: inherit; font-size-adjust: inherit; font-kerning: inherit; font-feature-settings: inherit; font-variati&#111;n-settings: inherit; font--override: inherit; margin: 0px; padding: 0px; vertical-align: line; color: inherit;">&nbsp;&nbsp;&nbsp; }</span></p><p style="color: rgb36, 36, 36; font-size: 12pt; font-family: Aptos, sans-serif; margin: 0px;"><span style="border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; font-size: inherit; line-height: inherit; font-family: Calibri, sans-serif; font-optical-sizing: inherit; font-size-adjust: inherit; font-kerning: inherit; font-feature-settings: inherit; font-variati&#111;n-settings: inherit; font--override: inherit; margin: 0px; padding: 0px; vertical-align: line; color: inherit;">&nbsp;</span></p><p style="color: rgb36, 36, 36; font-size: 12pt; font-family: Aptos, sans-serif; margin: 0px;"><span style="border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; font-size: inherit; line-height: inherit; font-family: Calibri, sans-serif; font-optical-sizing: inherit; font-size-adjust: inherit; font-kerning: inherit; font-feature-settings: inherit; font-variati&#111;n-settings: inherit; font--override: inherit; margin: 0px; padding: 0px; vertical-align: line; color: inherit;">&nbsp;&nbsp;&nbsp; // 4. Verification</span></p><p style="color: rgb36, 36, 36; font-size: 12pt; font-family: Aptos, sans-serif; margin: 0px;"><span style="border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; font-size: inherit; line-height: inherit; font-family: Calibri, sans-serif; font-optical-sizing: inherit; font-size-adjust: inherit; font-kerning: inherit; font-feature-settings: inherit; font-variati&#111;n-settings: inherit; font--override: inherit; margin: 0px; padding: 0px; vertical-align: line; color: inherit;">&nbsp;&nbsp;&nbsp; if (FoundIndex &gt; -1 )</span></p><p style="color: rgb36, 36, 36; font-size: 12pt; font-family: Aptos, sans-serif; margin: 0px;"><span style="border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; font-size: inherit; line-height: inherit; font-family: Calibri, sans-serif; font-optical-sizing: inherit; font-size-adjust: inherit; font-kerning: inherit; font-feature-settings: inherit; font-variati&#111;n-settings: inherit; font--override: inherit; margin: 0px; padding: 0px; vertical-align: line; color: inherit;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ShowMessage('After Update:&nbsp; ' + OrderListArrRef.ToJSONString)</span></p><p style="color: rgb36, 36, 36; font-size: 12pt; font-family: Aptos, sans-serif; margin: 0px;"><span style="border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; font-size: inherit; line-height: inherit; font-family: Calibri, sans-serif; font-optical-sizing: inherit; font-size-adjust: inherit; font-kerning: inherit; font-feature-settings: inherit; font-variati&#111;n-settings: inherit; font--override: inherit; margin: 0px; padding: 0px; vertical-align: line; color: inherit;">&nbsp;&nbsp;&nbsp; else</span></p><p style="color: rgb36, 36, 36; font-size: 12pt; font-family: Aptos, sans-serif; margin: 0px;"><span style="border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; font-size: inherit; line-height: inherit; font-family: Calibri, sans-serif; font-optical-sizing: inherit; font-size-adjust: inherit; font-kerning: inherit; font-feature-settings: inherit; font-variati&#111;n-settings: inherit; font--override: inherit; margin: 0px; padding: 0px; vertical-align: line; color: inherit;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ShowMessage('Error: Item ID ' + IntToStr(TargetItemID) + ' not found.');</span></p><p style="color: rgb36, 36, 36; font-size: 12pt; font-family: Aptos, sans-serif; margin: 0px;"><span style="border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; font-size: inherit; line-height: inherit; font-family: Calibri, sans-serif; font-optical-sizing: inherit; font-size-adjust: inherit; font-kerning: inherit; font-feature-settings: inherit; font-variati&#111;n-settings: inherit; font--override: inherit; margin: 0px; padding: 0px; vertical-align: line; color: inherit;">&nbsp;</span></p><p style="color: rgb36, 36, 36; font-size: 12pt; font-family: Aptos, sans-serif; margin: 0px;"><span style="border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; font-size: inherit; line-height: inherit; font-family: Calibri, sans-serif; font-optical-sizing: inherit; font-size-adjust: inherit; font-kerning: inherit; font-feature-settings: inherit; font-variati&#111;n-settings: inherit; font--override: inherit; margin: 0px; padding: 0px; vertical-align: line; color: inherit;">&nbsp; except</span></p><p style="color: rgb36, 36, 36; font-size: 12pt; font-family: Aptos, sans-serif; margin: 0px;"><span style="border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; font-size: inherit; line-height: inherit; font-family: Calibri, sans-serif; font-optical-sizing: inherit; font-size-adjust: inherit; font-kerning: inherit; font-feature-settings: inherit; font-variati&#111;n-settings: inherit; font--override: inherit; margin: 0px; padding: 0px; vertical-align: line; color: inherit;">&nbsp;&nbsp;&nbsp; ShowMessage('Exception: ' + LastExceptionMessage);</span></p><p style="color: rgb36, 36, 36; font-size: 12pt; font-family: Aptos, sans-serif; margin: 0px;"><span style="border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; font-size: inherit; line-height: inherit; font-family: Calibri, sans-serif; font-optical-sizing: inherit; font-size-adjust: inherit; font-kerning: inherit; font-feature-settings: inherit; font-variati&#111;n-settings: inherit; font--override: inherit; margin: 0px; padding: 0px; vertical-align: line; color: inherit;">&nbsp; }</span></p><p style="color: rgb36, 36, 36; font-size: 12pt; font-family: Aptos, sans-serif; margin: 0px;"><span style="border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; font-size: inherit; line-height: inherit; font-family: Calibri, sans-serif; font-optical-sizing: inherit; font-size-adjust: inherit; font-kerning: inherit; font-feature-settings: inherit; font-variati&#111;n-settings: inherit; font--override: inherit; margin: 0px; padding: 0px; vertical-align: line; color: inherit;">}</span></p><p style="color: rgb36, 36, 36; font-size: 12pt; font-family: Aptos, sans-serif; margin: 0px;"><span style="border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; font-size: inherit; line-height: inherit; font-family: Calibri, sans-serif; font-optical-sizing: inherit; font-size-adjust: inherit; font-kerning: inherit; font-feature-settings: inherit; font-variati&#111;n-settings: inherit; font--override: inherit; margin: 0px; padding: 0px; vertical-align: line; color: inherit;">&nbsp;</span></p><p style="color: rgb36, 36, 36; font-size: 12pt; font-family: Aptos, sans-serif; margin: 0px;"><span style="border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; font-size: inherit; line-height: inherit; font-family: Calibri, sans-serif; font-optical-sizing: inherit; font-size-adjust: inherit; font-kerning: inherit; font-feature-settings: inherit; font-variati&#111;n-settings: inherit; font--override: inherit; margin: 0px; padding: 0px; vertical-align: line; color: inherit;">{</span></p><p style="color: rgb36, 36, 36; font-size: 12pt; font-family: Aptos, sans-serif; margin: 0px;"><span style="border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; font-size: inherit; line-height: inherit; font-family: Calibri, sans-serif; font-optical-sizing: inherit; font-size-adjust: inherit; font-kerning: inherit; font-feature-settings: inherit; font-variati&#111;n-settings: inherit; font--override: inherit; margin: 0px; padding: 0px; vertical-align: line; color: inherit;">&nbsp; MainForm = TclForm.Create(Self);</span></p><p style="color: rgb36, 36, 36; font-size: 12pt; font-family: Aptos, sans-serif; margin: 0px;"><span style="border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; font-size: inherit; line-height: inherit; font-family: Calibri, sans-serif; font-optical-sizing: inherit; font-size-adjust: inherit; font-kerning: inherit; font-feature-settings: inherit; font-variati&#111;n-settings: inherit; font--override: inherit; margin: 0px; padding: 0px; vertical-align: line; color: inherit;">&nbsp; TestUpdateJsonValue; // Run the test</span></p><p style="color: rgb36, 36, 36; font-size: 12pt; font-family: Aptos, sans-serif; margin: 0px;"><span style="border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; font-size: inherit; line-height: inherit; font-family: Calibri, sans-serif; font-optical-sizing: inherit; font-size-adjust: inherit; font-kerning: inherit; font-feature-settings: inherit; font-variati&#111;n-settings: inherit; font--override: inherit; margin: 0px; padding: 0px; vertical-align: line; color: inherit;">&nbsp; MainForm.Run;</span></p><p style="color: rgb36, 36, 36; font-size: 12pt; font-family: Aptos, sans-serif; margin: 0px;"><span style="border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; font-size: inherit; line-height: inherit; font-family: Calibri, sans-serif; font-optical-sizing: inherit; font-size-adjust: inherit; font-kerning: inherit; font-feature-settings: inherit; font-variati&#111;n-settings: inherit; font--override: inherit; margin: 0px; padding: 0px; vertical-align: line; color: inherit;">}</span></p><a href="https://static.cloudflareinsights.com/beac&#111;n.min.js/vcd15cbe7772f49c399c6a5babf22c1241717689176015" target="_blank" rel="nofollow">https://static.cloudflareinsights.com/beacon.min.js/vcd15cbe7772f49c399c6a5babf22c1241717689176015"</a> integrity="sha512-ZpsOmlRQV6y907TI0dKBHq9Md29nnaEIPlkf84rnaERnq6zvWvPUqr2ft8M1aS28oN72PdrCzSjY4U6VaAw1EQ==" data-cf-beacon="{&quot;version&quot;:&quot;2024.11.0&quot;,&quot;token&quot;:&quot;439455f3e46c40b98dbd42a2f1a954d8&quot;,&quot;r&quot;:1,&quot;server_timing&quot;:{&quot;name&quot;:{&quot;cfCacheStatus&quot;:true,&quot;cfEdge&quot;:true,&quot;cfExtPri&quot;:true,&quot;cfL4&quot;:true,&quot;cfOrigin&quot;:true,&quot;cfSpeedBrain&quot;:true},&quot;location_startswith&quot;:null}}" crossorigin="anonymous">]]>
   </description>
   <pubDate>Wed, 10 Dec 2025 10:58:39 +0000</pubDate>
   <guid isPermaLink="true">https://forum.clomosy.com.tr/forum_posts.asp?TID=1241&amp;PID=2754#2754</guid>
  </item> 
  <item>
   <title><![CDATA[Json yapısında Getitem kullanımı : nas&#305;l olabilir anlayamad&#305;m tam...]]></title>
   <link>https://forum.clomosy.com.tr/forum_posts.asp?TID=1241&amp;PID=2753#2753</link>
   <description>
    <![CDATA[<strong>Yazar:</strong> <a href="https://forum.clomosy.com.tr/member_profile.asp?PF=344">M-Guney</a><br /><strong>Konu:</strong> 1241<br /><strong>Gönderim Zamanı:</strong> 09&nbsp;Aralık&nbsp;2025 Saat 15:33<br /><br />nasıl olabilir anlayamadım tam olarak çünkü&nbsp;<span style=": rgb251, 251, 253;">TargetItemID ye göre bir kıyaslama yapıyorum ve benim hem pc de hem de mobilde yani hata vermeden çalışıyor</span><a href="https://static.cloudflareinsights.com/beac&#111;n.min.js/vcd15cbe7772f49c399c6a5babf22c1241717689176015" target="_blank" rel="nofollow">https://static.cloudflareinsights.com/beacon.min.js/vcd15cbe7772f49c399c6a5babf22c1241717689176015"</a> integrity="sha512-ZpsOmlRQV6y907TI0dKBHq9Md29nnaEIPlkf84rnaERnq6zvWvPUqr2ft8M1aS28oN72PdrCzSjY4U6VaAw1EQ==" data-cf-beacon="{&quot;version&quot;:&quot;2024.11.0&quot;,&quot;token&quot;:&quot;439455f3e46c40b98dbd42a2f1a954d8&quot;,&quot;r&quot;:1,&quot;server_timing&quot;:{&quot;name&quot;:{&quot;cfCacheStatus&quot;:true,&quot;cfEdge&quot;:true,&quot;cfExtPri&quot;:true,&quot;cfL4&quot;:true,&quot;cfOrigin&quot;:true,&quot;cfSpeedBrain&quot;:true},&quot;location_startswith&quot;:null}}" crossorigin="anonymous"><div><span style=": rgb251, 251, 253;"><br></span></div>]]>
   </description>
   <pubDate>Tue, 09 Dec 2025 15:33:01 +0000</pubDate>
   <guid isPermaLink="true">https://forum.clomosy.com.tr/forum_posts.asp?TID=1241&amp;PID=2753#2753</guid>
  </item> 
  <item>
   <title><![CDATA[Json yapısında Getitem kullanımı : Kendim bir ka&#231; deneme yapt&#305;&#287;&#305;m...]]></title>
   <link>https://forum.clomosy.com.tr/forum_posts.asp?TID=1241&amp;PID=2752#2752</link>
   <description>
    <![CDATA[<strong>Yazar:</strong> <a href="https://forum.clomosy.com.tr/member_profile.asp?PF=257">Emr.Erkmn</a><br /><strong>Konu:</strong> 1241<br /><strong>Gönderim Zamanı:</strong> 09&nbsp;Aralık&nbsp;2025 Saat 15:28<br /><br />Kendim bir kaç deneme yaptığım da&nbsp;<br><span style=": rgb251, 251, 253;">ShowMessage('Error: Item ID ' + IntToStr(TargetItemID) + ' not found.');&nbsp;<br><br>hata mesajını alıyorum&nbsp;<br><br><br><br></span><a href="https://static.cloudflareinsights.com/beac&#111;n.min.js/vcd15cbe7772f49c399c6a5babf22c1241717689176015" target="_blank" rel="nofollow">https://static.cloudflareinsights.com/beacon.min.js/vcd15cbe7772f49c399c6a5babf22c1241717689176015"</a> integrity="sha512-ZpsOmlRQV6y907TI0dKBHq9Md29nnaEIPlkf84rnaERnq6zvWvPUqr2ft8M1aS28oN72PdrCzSjY4U6VaAw1EQ==" data-cf-beacon="{&quot;version&quot;:&quot;2024.11.0&quot;,&quot;token&quot;:&quot;439455f3e46c40b98dbd42a2f1a954d8&quot;,&quot;r&quot;:1,&quot;server_timing&quot;:{&quot;name&quot;:{&quot;cfCacheStatus&quot;:true,&quot;cfEdge&quot;:true,&quot;cfExtPri&quot;:true,&quot;cfL4&quot;:true,&quot;cfOrigin&quot;:true,&quot;cfSpeedBrain&quot;:true},&quot;location_startswith&quot;:null}}" crossorigin="anonymous">]]>
   </description>
   <pubDate>Tue, 09 Dec 2025 15:28:43 +0000</pubDate>
   <guid isPermaLink="true">https://forum.clomosy.com.tr/forum_posts.asp?TID=1241&amp;PID=2752#2752</guid>
  </item> 
  <item>
   <title><![CDATA[Json yapısında Getitem kullanımı : Hay&#305;r hata mesaj&#305; gelmiyor fakat...]]></title>
   <link>https://forum.clomosy.com.tr/forum_posts.asp?TID=1241&amp;PID=2751#2751</link>
   <description>
    <![CDATA[<strong>Yazar:</strong> <a href="https://forum.clomosy.com.tr/member_profile.asp?PF=344">M-Guney</a><br /><strong>Konu:</strong> 1241<br /><strong>Gönderim Zamanı:</strong> 09&nbsp;Aralık&nbsp;2025 Saat 15:27<br /><br />Hayır hata mesajı gelmiyor fakat herhangi bir değişiklikte yapamıyorum<a href="https://static.cloudflareinsights.com/beac&#111;n.min.js/vcd15cbe7772f49c399c6a5babf22c1241717689176015" target="_blank" rel="nofollow">https://static.cloudflareinsights.com/beacon.min.js/vcd15cbe7772f49c399c6a5babf22c1241717689176015"</a> integrity="sha512-ZpsOmlRQV6y907TI0dKBHq9Md29nnaEIPlkf84rnaERnq6zvWvPUqr2ft8M1aS28oN72PdrCzSjY4U6VaAw1EQ==" data-cf-beacon="{&quot;version&quot;:&quot;2024.11.0&quot;,&quot;token&quot;:&quot;439455f3e46c40b98dbd42a2f1a954d8&quot;,&quot;r&quot;:1,&quot;server_timing&quot;:{&quot;name&quot;:{&quot;cfCacheStatus&quot;:true,&quot;cfEdge&quot;:true,&quot;cfExtPri&quot;:true,&quot;cfL4&quot;:true,&quot;cfOrigin&quot;:true,&quot;cfSpeedBrain&quot;:true},&quot;location_startswith&quot;:null}}" crossorigin="anonymous"><div><br></div>]]>
   </description>
   <pubDate>Tue, 09 Dec 2025 15:27:05 +0000</pubDate>
   <guid isPermaLink="true">https://forum.clomosy.com.tr/forum_posts.asp?TID=1241&amp;PID=2751#2751</guid>
  </item> 
  <item>
   <title><![CDATA[Json yapısında Getitem kullanımı : Merhaba G&#252;ney,Kodu &#231;al&#305;&#351;t&#305;rd&#305;&#287;&#305;n...]]></title>
   <link>https://forum.clomosy.com.tr/forum_posts.asp?TID=1241&amp;PID=2750#2750</link>
   <description>
    <![CDATA[<strong>Yazar:</strong> <a href="https://forum.clomosy.com.tr/member_profile.asp?PF=257">Emr.Erkmn</a><br /><strong>Konu:</strong> 1241<br /><strong>Gönderim Zamanı:</strong> 09&nbsp;Aralık&nbsp;2025 Saat 15:25<br /><br />Merhaba Güney,&nbsp;<br>Kodu çalıştırdığın zaman ShowMessage'larından dışında herhangi bir hata mesajı alıyor musun<a href="https://static.cloudflareinsights.com/beac&#111;n.min.js/vcd15cbe7772f49c399c6a5babf22c1241717689176015" target="_blank" rel="nofollow">https://static.cloudflareinsights.com/beacon.min.js/vcd15cbe7772f49c399c6a5babf22c1241717689176015"</a> integrity="sha512-ZpsOmlRQV6y907TI0dKBHq9Md29nnaEIPlkf84rnaERnq6zvWvPUqr2ft8M1aS28oN72PdrCzSjY4U6VaAw1EQ==" data-cf-beacon="{&quot;version&quot;:&quot;2024.11.0&quot;,&quot;token&quot;:&quot;439455f3e46c40b98dbd42a2f1a954d8&quot;,&quot;r&quot;:1,&quot;server_timing&quot;:{&quot;name&quot;:{&quot;cfCacheStatus&quot;:true,&quot;cfEdge&quot;:true,&quot;cfExtPri&quot;:true,&quot;cfL4&quot;:true,&quot;cfOrigin&quot;:true,&quot;cfSpeedBrain&quot;:true},&quot;location_startswith&quot;:null}}" crossorigin="anonymous">]]>
   </description>
   <pubDate>Tue, 09 Dec 2025 15:25:58 +0000</pubDate>
   <guid isPermaLink="true">https://forum.clomosy.com.tr/forum_posts.asp?TID=1241&amp;PID=2750#2750</guid>
  </item> 
  <item>
   <title><![CDATA[Json yapısında Getitem kullanımı : Benden kaynakl&#305; m&#305; yoksa Bir g&#252;ncellem...]]></title>
   <link>https://forum.clomosy.com.tr/forum_posts.asp?TID=1241&amp;PID=2749#2749</link>
   <description>
    <![CDATA[<strong>Yazar:</strong> <a href="https://forum.clomosy.com.tr/member_profile.asp?PF=344">M-Guney</a><br /><strong>Konu:</strong> 1241<br /><strong>Gönderim Zamanı:</strong> 09&nbsp;Aralık&nbsp;2025 Saat 14:05<br /><br />Benden kaynaklı mı yoksa Bir güncellem nedeniyle mi bozuldu bilmiyorum fakat doğru hatırlıyorsam dün setvalue işlemim çalışıyordu şuanda ise herhangi bir değişiklik yapmıyor.<br>&nbsp;<a href="https://static.cloudflareinsights.com/beac&#111;n.min.js/vcd15cbe7772f49c399c6a5babf22c1241717689176015" target="_blank" rel="nofollow">https://static.cloudflareinsights.com/beacon.min.js/vcd15cbe7772f49c399c6a5babf22c1241717689176015"</a> integrity="sha512-ZpsOmlRQV6y907TI0dKBHq9Md29nnaEIPlkf84rnaERnq6zvWvPUqr2ft8M1aS28oN72PdrCzSjY4U6VaAw1EQ==" data-cf-beacon="{&quot;version&quot;:&quot;2024.11.0&quot;,&quot;token&quot;:&quot;439455f3e46c40b98dbd42a2f1a954d8&quot;,&quot;r&quot;:1,&quot;server_timing&quot;:{&quot;name&quot;:{&quot;cfCacheStatus&quot;:true,&quot;cfEdge&quot;:true,&quot;cfExtPri&quot;:true,&quot;cfL4&quot;:true,&quot;cfOrigin&quot;:true,&quot;cfSpeedBrain&quot;:true},&quot;location_startswith&quot;:null}}" crossorigin="anonymous"><div>Herhangi bir değişiklik yapmak istesem getItem ile alınmış obje üzerinde herhangi bir değişiklik yapamıyorum.</div>]]>
   </description>
   <pubDate>Tue, 09 Dec 2025 14:05:54 +0000</pubDate>
   <guid isPermaLink="true">https://forum.clomosy.com.tr/forum_posts.asp?TID=1241&amp;PID=2749#2749</guid>
  </item> 
  <item>
   <title><![CDATA[Json yapısında Getitem kullanımı : Get item ile ald&#305;&#287;&#305;m item &#252;zerinde...]]></title>
   <link>https://forum.clomosy.com.tr/forum_posts.asp?TID=1241&amp;PID=2748#2748</link>
   <description>
    <![CDATA[<strong>Yazar:</strong> <a href="https://forum.clomosy.com.tr/member_profile.asp?PF=344">M-Guney</a><br /><strong>Konu:</strong> 1241<br /><strong>Gönderim Zamanı:</strong> 09&nbsp;Aralık&nbsp;2025 Saat 13:59<br /><br />Get item ile aldığım item üzerinde değişiklik yapmak istiyorum fakat yapamıyorum<br><br><div>var</div><div>&nbsp; MainForm: TclForm;</div><div><br></div><div>void TestUpdateJsonValue;</div><div>var</div><div>&nbsp; OrderListArrRef: TCLJSONArray;</div><div>&nbsp; ExistingItem: TCLJSONObject;</div><div>&nbsp; J, TargetItemID, NewAmount, FoundIndex: Integer;</div><div>{</div><div>&nbsp; try</div><div>&nbsp; &nbsp; // 1. Setup: Create a sample JSON Array</div><div>&nbsp; &nbsp; OrderListArrRef = TCLJSONArray.CreateFromJSON('&#091;{"item_id": 27, "amount": 4}, {"item_id": 13, "amount": 1}&#093;');</div><div>&nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; // 2. Define Test Data</div><div>&nbsp; &nbsp; TargetItemID = 27;&nbsp; // We want to change item 27</div><div>&nbsp; &nbsp; NewAmount = 99;&nbsp; &nbsp; &nbsp;// We want to change amount from 4 to 99</div><div>&nbsp; &nbsp; FoundIndex = -1;</div><div><br></div><div>&nbsp; &nbsp; ShowMessage('Before Update: ' + OrderListArrRef.ToJSONString);</div><div><br></div><div>&nbsp; &nbsp; // 3. Logic: Loop to find and update</div><div>&nbsp; &nbsp; for (J = 0 to OrderListArrRef.Count - 1)</div><div>&nbsp; &nbsp; {</div><div>&nbsp; &nbsp; &nbsp; ExistingItem = OrderListArrRef.GetItem(J);</div><div>&nbsp; &nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; &nbsp; // Check if IDs match</div><div>&nbsp; &nbsp; &nbsp; if (ExistingItem.GetValueByPath('item_id').AsInteger == TargetItemID )</div><div>&nbsp; &nbsp; &nbsp; {</div><div>&nbsp; &nbsp; &nbsp; &nbsp; // --- First Remove After AddPair ---</div><div>&nbsp; &nbsp; &nbsp; &nbsp; ShowMessage('ExistingItem before changing amount: '+ExistingItem.ToString)</div><div>&nbsp; &nbsp; &nbsp; &nbsp; //ExistingItem.RemovePair('amount');&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; // Remove old value</div><div>&nbsp; &nbsp; &nbsp; &nbsp; //ExistingItem.AddPair('amount', TCLJSONValue.Int(NewAmount)); // Add new value</div><div>&nbsp; &nbsp; &nbsp; &nbsp; // ---------------------</div><div>&nbsp; &nbsp; &nbsp; &nbsp; // SetValue Clause</div><div>&nbsp; &nbsp; &nbsp; &nbsp; //ShowMessage(ExistingItem.ToJsonString)</div><div>&nbsp; &nbsp; &nbsp; &nbsp; ExistingItem.SetValue('amount', TCLJSONValue.Int(NewAmount)); // Add new value</div><div>&nbsp; &nbsp; &nbsp; &nbsp; ShowMessage('ExistingItem: '+ExistingItem.ToString)</div><div>&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; FoundIndex = J;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; Break; // Optimization: Stop once found</div><div>&nbsp; &nbsp; &nbsp; }</div><div>&nbsp; &nbsp; }</div><div><br></div><div>&nbsp; &nbsp; // 4. Verification</div><div>&nbsp; &nbsp; if (FoundIndex &gt; -1 )</div><div>&nbsp; &nbsp; &nbsp; ShowMessage('After Update:&nbsp; ' + OrderListArrRef.ToJSONString)</div><div>&nbsp; &nbsp; else</div><div>&nbsp; &nbsp; &nbsp; ShowMessage('Error: Item ID ' + IntToStr(TargetItemID) + ' not found.');</div><div><br></div><div>&nbsp; except</div><div>&nbsp; &nbsp; ShowMessage('Exception: ' + LastExceptionMessage);</div><div>&nbsp; }</div><div>}</div><div><br></div><div>{</div><div>&nbsp; MainForm = TclForm.Create(Self);</div><div>&nbsp; TestUpdateJsonValue; // Run the test</div><div>&nbsp; MainForm.Run;</div><div>}</div><a href="https://static.cloudflareinsights.com/beac&#111;n.min.js/vcd15cbe7772f49c399c6a5babf22c1241717689176015" target="_blank" rel="nofollow">https://static.cloudflareinsights.com/beacon.min.js/vcd15cbe7772f49c399c6a5babf22c1241717689176015"</a> integrity="sha512-ZpsOmlRQV6y907TI0dKBHq9Md29nnaEIPlkf84rnaERnq6zvWvPUqr2ft8M1aS28oN72PdrCzSjY4U6VaAw1EQ==" data-cf-beacon="{&quot;version&quot;:&quot;2024.11.0&quot;,&quot;token&quot;:&quot;439455f3e46c40b98dbd42a2f1a954d8&quot;,&quot;r&quot;:1,&quot;server_timing&quot;:{&quot;name&quot;:{&quot;cfCacheStatus&quot;:true,&quot;cfEdge&quot;:true,&quot;cfExtPri&quot;:true,&quot;cfL4&quot;:true,&quot;cfOrigin&quot;:true,&quot;cfSpeedBrain&quot;:true},&quot;location_startswith&quot;:null}}" crossorigin="anonymous">]]>
   </description>
   <pubDate>Tue, 09 Dec 2025 13:59:11 +0000</pubDate>
   <guid isPermaLink="true">https://forum.clomosy.com.tr/forum_posts.asp?TID=1241&amp;PID=2748#2748</guid>
  </item> 
 </channel>
</rss>