<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Array to String</title><link href="https://forge.codesys.com/forge/talk/CODESYS-V2/thread/d3782c4b4e/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/CODESYS-V2/thread/d3782c4b4e/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/CODESYS-V2/thread/d3782c4b4e/</id><updated>2024-07-18T20:26:52.461000Z</updated><subtitle>Recent posts to Array to String</subtitle><entry><title>Array to String</title><link href="https://forge.codesys.com/forge/talk/CODESYS-V2/thread/d3782c4b4e/?limit=25#39ac" rel="alternate"/><published>2024-07-18T20:26:52.461000Z</published><updated>2024-07-18T20:26:52.461000Z</updated><author><name>mmpl</name><uri>https://forge.codesys.com/u/mmpl/</uri></author><id>https://forge.codesys.comfb86d9db7740e11db47a1bbd6be39f2fd3b369d6</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I would like to create one large JSON string from an array of objects, where each object contains a value. My current approach involves using a for loop and string concatenation, but with 20,000 elements in the array, this method takes almost 7 seconds and negatively affects the PLC scan time.&lt;/p&gt;
&lt;p&gt;Is there a more efficient way to accomplish this?&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>