<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to JSON parsing and composing library</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/aafd7bdc27/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Engineering/thread/aafd7bdc27/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Engineering/thread/aafd7bdc27/</id><updated>2021-08-19T18:30:27.615000Z</updated><subtitle>Recent posts to JSON parsing and composing library</subtitle><entry><title>JSON parsing and composing library</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/aafd7bdc27/?limit=50#7ae3" rel="alternate"/><published>2021-08-19T18:30:27.615000Z</published><updated>2021-08-19T18:30:27.615000Z</updated><author><name>tvm</name><uri>https://forge.codesys.com/u/tvm/</uri></author><id>https://forge.codesys.com557138aa34d157cf5366103acded4b2e6f10207e</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Eduardo&lt;/p&gt;
&lt;p&gt;Try the latest version, I just updated it on the forge site as well.&lt;br/&gt;
&lt;a href="https://www.dropbox.com/s/ql4b4ehxghvrsvc/PRO_JSON%201.0.0.11.library?dl=0" rel="nofollow"&gt;https://www.dropbox.com/s/ql4b4ehxghvrsvc/PRO_JSON%201.0.0.11.library?dl=0&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;There's some more examples in this version as well, maybe that will help, otherwise my email is in the library, you can send me an example of the issue you're having&lt;/p&gt;
&lt;p&gt;Tim&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>JSON parsing and composing library</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/aafd7bdc27/?limit=25#64e7" rel="alternate"/><published>2021-08-18T23:42:59.637000Z</published><updated>2021-08-18T23:42:59.637000Z</updated><author><name>ecarro</name><uri>https://forge.codesys.com/u/ecarro/</uri></author><id>https://forge.codesys.com9d00e986b2b0d6d7ea57733481a304d62580bc55</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi TVM,&lt;/p&gt;
&lt;p&gt;Thank you very much for sharing your work with the community.&lt;/p&gt;
&lt;p&gt;I'm trying the example included in the 1.0.0.9 version with a M262 CPU. ComposeJSON function works great, but I cannot make the ParseJSON function to work.&lt;br/&gt;
I included the library on the project, copy paste the code, compiled and downloaded. Is there anything I might be missing?&lt;/p&gt;
&lt;p&gt;Thank you for any help you can provide.&lt;/p&gt;
&lt;p&gt;Eduardo&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>JSON parsing and composing library</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/aafd7bdc27/?limit=25#1521" rel="alternate"/><published>2020-02-27T13:50:20.479000Z</published><updated>2020-02-27T13:50:20.479000Z</updated><author><name>tvm</name><uri>https://forge.codesys.com/u/tvm/</uri></author><id>https://forge.codesys.com71b2e82ed3db043d8aeb3434eaf0f7b305d74b5c</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I found the Setup.bat file in a different location.  Ran it, and I get "Installed URL Handler for cforge tool", so I assume it's installed, but I'm still not getting a "cforge" entry in the context menu of my package folder.&lt;/p&gt;
&lt;p&gt;This all seems unnecessarily complicated&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>JSON parsing and composing library</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/aafd7bdc27/?limit=25#881a" rel="alternate"/><published>2020-02-27T13:50:20.369000Z</published><updated>2020-02-27T13:50:20.369000Z</updated><author><name>tvm</name><uri>https://forge.codesys.com/u/tvm/</uri></author><id>https://forge.codesys.com57a706aadf23b1926cf050d76f6315022f463cb2</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Someone else created the .package file last time, I'm not really sure how to do that.  I got into it a bit, according to &lt;a class="" href="https://forge.codesys.com/tol/cforge/home/Home/#register-protocol-handler"&gt;https://forge.codesys.com/tol/cforge/ho ... ol-handler&lt;/a&gt;, it looks like I have to install cforge, but even after I install the package, there's still no C:\Program Files (x86)\3S CODESYS\CODESYS\CFORGE folder with a setup.bat file, and I don't have time to figure it out.  I don't actually use Codesys, I'm using Schneider Machine Expert, so I'm already doubling up my time just to post it to the forge.&lt;br/&gt;
Here's a link to the .library file if anyone's interested.  &lt;a class="" href="https://www.dropbox.com/s/2ap9jowqqjzap2k/PRO_JSON%201.0.0.7%20CODESYS.library?dl=0" rel="nofollow"&gt;https://www.dropbox.com/s/2ap9jowqqjzap ... brary?dl=0&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Tim&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>JSON parsing and composing library</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/aafd7bdc27/?limit=25#4084" rel="alternate"/><published>2020-02-27T13:50:19.976000Z</published><updated>2020-02-27T13:50:19.976000Z</updated><author><name>e.kislov</name><uri>https://forge.codesys.com/u/e-kislov/</uri></author><id>https://forge.codesys.coma924dab810b7631daba89c022c22db346d392e7e</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Thank you.&lt;br/&gt;
Just a little proposal: to append Codesys version for title of package/library.&lt;/p&gt;
&lt;p&gt;Something like: json-pac_v3.5.13.7 (3.5.13 - IDE version (patch usually irrelevant) and 7 - library version).&lt;/p&gt;
&lt;p&gt;Also I download .package from forge right now and seems like there is version 1.0.0.4, not 1.0.0.7.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>JSON parsing and composing library</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/aafd7bdc27/?limit=25#ea64" rel="alternate"/><published>2020-02-27T13:50:19.861000Z</published><updated>2020-02-27T13:50:19.861000Z</updated><author><name>tvm</name><uri>https://forge.codesys.com/u/tvm/</uri></author><id>https://forge.codesys.comce8800160b721dc5fd4d516a12407e1ecb4b184b</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Just posted version 1.0.0.7 on the Codesys Forge &lt;a class="" href="https://forge.codesys.com/lib/pro-json/home/Home/"&gt;https://forge.codesys.com/lib/pro-json/home/Home/&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Thanks Stefan for the input and testing.  &lt;/p&gt;
&lt;p&gt;Summary of changes, see comments in the code for more:&lt;br/&gt;
-changed how characteristics of JSONVAR variables are determined.  FB_Init wasn't picking up everything on the first and last variables of a structure, and some of it is now moved to STRUCT_TO_JSON.&lt;br/&gt;
-added a MaxLevels input, basically to define where JSON starts to be created--was necessary especially for JSON in nested function blocks&lt;br/&gt;
-I've added a VariableArraySize input, to suppress creation of array positions which are null&lt;br/&gt;
-I've added a Format input, which will add white space an indenting to a string (for example, when writing to a file).  This is not tested yet.&lt;br/&gt;
- a lot of minor code changes, trying to make it easier to read and more efficient&lt;/p&gt;
&lt;p&gt;Tim&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>JSON parsing and composing library</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/aafd7bdc27/?limit=25#a372" rel="alternate"/><published>2020-02-27T13:50:19.743000Z</published><updated>2020-02-27T13:50:19.743000Z</updated><author><name>tvm</name><uri>https://forge.codesys.com/u/tvm/</uri></author><id>https://forge.codesys.com1af5e3c2b36549eb4aafaf9e6d084cbd53c4b7f7</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi Stefan&lt;/p&gt;
&lt;p&gt;Which version of the library are you using?  I had some similar problems, which were fixed in v. 1.0.0.4.  You can get the latest version from the codesys forge.  If you're still having the issue, can you send me a string that causes the problem?  My email is in the library.&lt;br/&gt;
Tim&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>JSON parsing and composing library</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/aafd7bdc27/?limit=25#5eb3" rel="alternate"/><published>2020-02-27T13:50:19.622000Z</published><updated>2020-02-27T13:50:19.622000Z</updated><author><name>Stefan2</name><uri>https://forge.codesys.com/u/stefan2/</uri></author><id>https://forge.codesys.com4ed0904f26f29b0ef3a048258f9c2e0d32037ca2</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi TVM,&lt;/p&gt;
&lt;p&gt;i'm using your library for a Zigbee2mqtt converter.&lt;/p&gt;
&lt;p&gt;Is working fine, but sometimes I get a Closing braket to much. I figgured out that a&lt;br/&gt;
'EndObject' is set to much.&lt;/p&gt;
&lt;p&gt;May we have a look to get this out?&lt;/p&gt;
&lt;p&gt;BR Stefan&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>JSON parsing and composing library</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/aafd7bdc27/?limit=25#c5e7" rel="alternate"/><published>2020-02-27T13:50:19.499000Z</published><updated>2020-02-27T13:50:19.499000Z</updated><author><name>tvm</name><uri>https://forge.codesys.com/u/tvm/</uri></author><id>https://forge.codesys.comcfc19599f85113b9f63abcf53424134d30d1ae23</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;The forge looks like a good idea in concept, but I honestly lost interest by the time I had to install the third software package, and run a .bat file to change the registry.  This shouldn't be that complicated--all I'm interested in doing is posting the .library file for people to use.  I might get into it again at some point, but right now I don't have time to learn all the ins and outs of SVN packages, as interesting as it might be.&lt;br/&gt;
Tim&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>JSON parsing and composing library</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/aafd7bdc27/?limit=25#7488" rel="alternate"/><published>2020-02-27T13:50:19.362000Z</published><updated>2020-02-27T13:50:19.362000Z</updated><author><name>Anonymous</name><uri>https://forge.codesys.com/u/*anonymous/</uri></author><id>https://forge.codesys.com963293eb3537792afc37332a226a4d320a95897f</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;&lt;em&gt;Originally created by:&lt;/em&gt; rickj&lt;/p&gt;
&lt;p&gt;Hey Ingo, that's great.  I think the Forge is a wonderful idea.&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>