<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[NetXMS version:3.9 NXSL JsonObject class constructor method doesn't work]]></title><description><![CDATA[<p dir="auto">I'm trying to use the JsonObject class from NXSL but it is failing when I call the constructor method with the following error: <code>function not found error.</code></p>
<p dir="auto">I'm using NetXMS version 3.9.<br />
would appreciate if some one can direct me in the right direction as to how to resolve this issue.<br />
My code to calling the constructor</p>
<pre><code>body = JsonObject();
</code></pre>
]]></description><link>https://forum.netxms.org/topic/7121/netxms-version-3.9-nxsl-jsonobject-class-constructor-method-doesn-t-work</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Nov 2026 14:13:38 GMT</lastBuildDate><atom:link href="https://forum.netxms.org/topic/7121.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 03 Aug 2021 07:09:55 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to NetXMS version:3.9 NXSL JsonObject class constructor method doesn't work on Tue, 03 Aug 2021 07:13:06 GMT]]></title><description><![CDATA[<p dir="auto">Apologies.<br />
I've been calling the constructor incorrectly.</p>
<p dir="auto">For anyone else who come's across this issue to call constructor you have to use new.<br />
Like below</p>
<pre><code>body = new JsonObject();
</code></pre>
]]></description><link>https://forum.netxms.org/post/30302</link><guid isPermaLink="true">https://forum.netxms.org/post/30302</guid><dc:creator><![CDATA[Mishal]]></dc:creator><pubDate>Tue, 03 Aug 2021 07:13:06 GMT</pubDate></item></channel></rss>