<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: JSON to InfoTable in ThingWorx Developers</title>
    <link>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/JSON-to-InfoTable/m-p/723280#M51496</link>
    <description>&lt;P&gt;&lt;a href="https://www.ptcusercommunity.com/t5/user/viewprofilepage/user-id/310426"&gt;@tdixit&lt;/a&gt;&amp;nbsp;here you are. The naming of the field definitions are the exact same as the API URL of the objects when you call. I've attached both screenshots in original reference. To reiterate the idea is to use GetJSON snippet which works. And then have that real time information be converted to an Infotable. The conversion would then add a new row to that infotable to continually update it. From there, we can pull it to a line graph using the data points.&lt;/P&gt;</description>
    <pubDate>Thu, 08 Apr 2021 13:50:03 GMT</pubDate>
    <dc:creator>MFritzhand</dc:creator>
    <dc:date>2021-04-08T13:50:03Z</dc:date>
    <item>
      <title>JSON to InfoTable</title>
      <link>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/JSON-to-InfoTable/m-p/722938#M51431</link>
      <description>&lt;P&gt;Hello, I followed various articles from community forum here as well as this TWX &lt;A href="https://www.ptc.com/en/support/article/CS179012" target="_self"&gt;article.&amp;nbsp;&lt;/A&gt;and I am still having issues with my code outputting to an InfoTable. I am using an API to fetch Stock Price JSON data and having it be converted to an InfoTable, so it can be displayed into a graph in Mashups.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I've attached screenshots of my DataShape Field Definitions as well as the JSON Data Output.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The TWX code, with it outputting the columns with "No Data" is below. I've tried playing around with the for loop and doing a data.array.length but that mentions length is undefined. I am not sure if that would output to it being an InfoTable either. Thank you.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;var restParams = {

  proxyScheme: undefined /* STRING */,
  headers: undefined /* JSON */,
  ignoreSSLErrors: true /* BOOLEAN */,
  useNTLM: undefined /* BOOLEAN */,
  workstation: undefined /* STRING */,
  useProxy: undefined /* BOOLEAN */,
  withCookies: undefined /* BOOLEAN */,
  proxyHost: undefined /* STRING */,
  url: "https://finnhub.io/api/v1/quote?symbol=AAPL&amp;amp;token=c1mbi3i37fkpnsp59e6g" /* STRING */,
  content: undefined /* JSON */,
  timeout: undefined /* NUMBER */,
  proxyPort: undefined /* INTEGER */,
  password: undefined /* STRING */,
  domain: undefined /* STRING */,
  username: undefined /* STRING */

};

// result: JSON

var data = Resources["ContentLoaderFunctions"].GetJSON(restParams);

var params = {

infoTableName: "InfoTable" /* STRING */,
dataShapeName: "GrahicVisualizer_Stock_DS" /* DATASHAPENAME */

};

// result: INFOTABLE

var jsonTable = Resources["InfoTableFunctions"].CreateInfoTableFromDataShape(params);

//var tableLength = CobotInfoTable.rows.length;
//fix code below
for(var i=0;i&amp;lt;data.length;i++)

{

jsonTable.AddRow({
    c:data.c, 
    h:data.h,
    l:data.l, 
    o:data.o,
    pc:data.pc,
    t:data.t
});

}

result = jsonTable;&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2021-04-06 at 7.43.35 PM.png" style="width: 400px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/40067iDF84D4F7B7B18265/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screen Shot 2021-04-06 at 7.43.35 PM.png" alt="Screen Shot 2021-04-06 at 7.43.35 PM.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2021-04-06 at 7.42.10 PM.png" style="width: 400px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/40066i0381BD8115F76534/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screen Shot 2021-04-06 at 7.42.10 PM.png" alt="Screen Shot 2021-04-06 at 7.42.10 PM.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt; &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Apr 2021 14:26:05 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/JSON-to-InfoTable/m-p/722938#M51431</guid>
      <dc:creator>MFritzhand</dc:creator>
      <dc:date>2021-04-07T14:26:05Z</dc:date>
    </item>
    <item>
      <title>Re: JSON to InfoTable</title>
      <link>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/JSON-to-InfoTable/m-p/722961#M51434</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://www.ptcusercommunity.com/t5/user/viewprofilepage/user-id/317406"&gt;@MFritzhand&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you for reaching out to PTC&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I will try this at my end and will get back to you.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Meanwhile could you please help me with your ThingWorx version&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Toolika Dixit&lt;/P&gt;</description>
      <pubDate>Wed, 07 Apr 2021 06:25:27 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/JSON-to-InfoTable/m-p/722961#M51434</guid>
      <dc:creator>tdixit</dc:creator>
      <dc:date>2021-04-07T06:25:27Z</dc:date>
    </item>
    <item>
      <title>Re: JSON to InfoTable</title>
      <link>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/JSON-to-InfoTable/m-p/722965#M51437</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://www.ptcusercommunity.com/t5/user/viewprofilepage/user-id/317406"&gt;@MFritzhand&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have tried to convert the JSON to InfoTable at my end and I am able to do that, I have attached the sample entities for your reference&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please follow below steps on Composer:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Create a&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Thing&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/STRONG&gt;e.g. "JsonToInfotableThing"&lt;/LI&gt;
&lt;LI&gt;Create a&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Property&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/STRONG&gt;type JSON e.g. "myjson"&lt;/LI&gt;
&lt;LI&gt;Set the JSON input data to the property "myjson"&amp;nbsp;
&lt;DIV&gt;&lt;STRONG&gt;Note:&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;Assuming sample input JSON as below&lt;/DIV&gt;
&lt;DIV&gt;&lt;I&gt;{&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;"chartType": "NONBOOLEAN",&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;"PVAResults": {&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;"rows": [{&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;"count": 1,&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;"pva": {&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;"rows": [{&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;"actual": 1.88999999,&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;"predicted": 1.8962275055869233&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;}]&lt;BR /&gt;}&lt;/I&gt;&lt;BR /&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;/LI&gt;
&lt;LI&gt;Create a&lt;STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;Data Shape&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;e.g.&lt;STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/STRONG&gt;DS0524 having columns as Count, Actual and Predicted all of base type Numeric&lt;/LI&gt;
&lt;LI&gt;Create a&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Custom JavaScript Service&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;as&amp;nbsp;below:&lt;/LI&gt;
&lt;/OL&gt;
&lt;DIV&gt;&lt;I&gt;var params = {&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; infoTableName : "InfoTable",&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; dataShapeName : "DS0524"&lt;BR /&gt;};&lt;BR /&gt;&lt;BR /&gt;//CreateInfoTableFromDataShape(infoTableName:STRING("InfoTable"), dataShapeName:STRING):INFOTABLE(DS0524)&lt;BR /&gt;var result = Resources["InfoTableFunctions"].CreateInfoTableFromDataShape(params);&lt;BR /&gt;&lt;BR /&gt;tableLength = me.myjson.PVAResults.rows.length;&lt;BR /&gt;&lt;BR /&gt;for(var i=0; i&amp;lt;tableLength; i++) {&lt;BR /&gt;&amp;nbsp; &amp;nbsp; result.AddRow({count:me.myjson.PVAResults.rows[i].count,actual:me.myjson.PVAResults.rows[i].pva.rows[0].actual,predicted:me.myjson.PVAResults.rows[i].pva.rows[0].predicted});&lt;BR /&gt;}&lt;/I&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;BR /&gt;6. Test and validate Service to get the desired results&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;Regards,&lt;/DIV&gt;
&lt;DIV&gt;Toolika Dixit&lt;/DIV&gt;</description>
      <pubDate>Wed, 07 Apr 2021 06:52:43 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/JSON-to-InfoTable/m-p/722965#M51437</guid>
      <dc:creator>tdixit</dc:creator>
      <dc:date>2021-04-07T06:52:43Z</dc:date>
    </item>
    <item>
      <title>Re: JSON to InfoTable</title>
      <link>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/JSON-to-InfoTable/m-p/723089#M51475</link>
      <description>&lt;P&gt;Hi &lt;a href="https://www.ptcusercommunity.com/t5/user/viewprofilepage/user-id/310426"&gt;@tdixit&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you for getting back to me. What you provided to me is not what I am looking to do. I attached my code here. I am wanting to use the LoadJSON snippet which will &lt;STRONG&gt;automatically&lt;/STRONG&gt; pull the JSON object information, what you provided was approaching it&amp;nbsp;&lt;STRONG&gt;manually&lt;/STRONG&gt; entry.&amp;nbsp;And then have that LoadJSON code be converted to an InfoTable. There should be no input, since this will be automated.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;var restParams = {

  proxyScheme: undefined /* STRING */,
  headers: undefined /* JSON */,
  ignoreSSLErrors: true /* BOOLEAN */,
  useNTLM: undefined /* BOOLEAN */,
  workstation: undefined /* STRING */,
  useProxy: undefined /* BOOLEAN */,
  withCookies: undefined /* BOOLEAN */,
  proxyHost: undefined /* STRING */,
  url: "https://finnhub.io/api/v1/quote?symbol=AAPL&amp;amp;token=c1mbi3i37fkpnsp59e6g" /* STRING */,
  content: undefined /* JSON */,
  timeout: undefined /* NUMBER */,
  proxyPort: undefined /* INTEGER */,
  password: undefined /* STRING */,
  domain: undefined /* STRING */,
  username: undefined /* STRING */

};

// result: JSON

var data = Resources["ContentLoaderFunctions"].GetJSON(restParams);

var params = {

infoTableName: "InfoTable" /* STRING */,
dataShapeName: "GrahicVisualizer_Stock_DS" /* DATASHAPENAME */

};

// result: INFOTABLE

var jsonTable = Resources["InfoTableFunctions"].CreateInfoTableFromDataShape(params);

//var tableLength = CobotInfoTable.rows.length;
//fix code below
for(var i=0;i&amp;lt;data.length;i++)

{

jsonTable.AddRow({
    c:data.c, 
    h:data.h,
    l:data.l, 
    o:data.o,
    pc:data.pc,
    t:data.t
});

}

result = jsonTable;&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Apr 2021 15:37:15 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/JSON-to-InfoTable/m-p/723089#M51475</guid>
      <dc:creator>MFritzhand</dc:creator>
      <dc:date>2021-04-07T15:37:15Z</dc:date>
    </item>
    <item>
      <title>Re: JSON to InfoTable</title>
      <link>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/JSON-to-InfoTable/m-p/723157#M51480</link>
      <description>&lt;P&gt;I am on TWX 9.0&amp;nbsp;&lt;a href="https://www.ptcusercommunity.com/t5/user/viewprofilepage/user-id/310426"&gt;@tdixit&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Apr 2021 20:30:10 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/JSON-to-InfoTable/m-p/723157#M51480</guid>
      <dc:creator>MFritzhand</dc:creator>
      <dc:date>2021-04-07T20:30:10Z</dc:date>
    </item>
    <item>
      <title>Re: JSON to InfoTable</title>
      <link>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/JSON-to-InfoTable/m-p/723231#M51489</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://www.ptcusercommunity.com/t5/user/viewprofilepage/user-id/317406"&gt;@MFritzhand&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Could you please attach Data Shape here&lt;/P&gt;
&lt;PRE class="lia-code-sample  language-javascript"&gt;&lt;CODE&gt;GrahicVisualizer_Stock_DS&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;Regards,&lt;/P&gt;
&lt;P&gt;Toolika Dixit&lt;/P&gt;</description>
      <pubDate>Thu, 08 Apr 2021 09:09:21 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/JSON-to-InfoTable/m-p/723231#M51489</guid>
      <dc:creator>tdixit</dc:creator>
      <dc:date>2021-04-08T09:09:21Z</dc:date>
    </item>
    <item>
      <title>Re: JSON to InfoTable</title>
      <link>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/JSON-to-InfoTable/m-p/723280#M51496</link>
      <description>&lt;P&gt;&lt;a href="https://www.ptcusercommunity.com/t5/user/viewprofilepage/user-id/310426"&gt;@tdixit&lt;/a&gt;&amp;nbsp;here you are. The naming of the field definitions are the exact same as the API URL of the objects when you call. I've attached both screenshots in original reference. To reiterate the idea is to use GetJSON snippet which works. And then have that real time information be converted to an Infotable. The conversion would then add a new row to that infotable to continually update it. From there, we can pull it to a line graph using the data points.&lt;/P&gt;</description>
      <pubDate>Thu, 08 Apr 2021 13:50:03 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/JSON-to-InfoTable/m-p/723280#M51496</guid>
      <dc:creator>MFritzhand</dc:creator>
      <dc:date>2021-04-08T13:50:03Z</dc:date>
    </item>
    <item>
      <title>Re: JSON to InfoTable</title>
      <link>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/JSON-to-InfoTable/m-p/723386#M51500</link>
      <description>&lt;P&gt;&lt;A href="https://community.ptc.com/t5/ThingWorx-Developers/JSON-in-repository-to-InfoTable-is-returning-nothing/m-p/561790" target="_blank"&gt;https://community.ptc.com/t5/ThingWorx-Developers/JSON-in-repository-to-InfoTable-is-returning-nothing/m-p/561790&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This seems to be similar issue&lt;/P&gt;</description>
      <pubDate>Thu, 08 Apr 2021 21:53:06 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/JSON-to-InfoTable/m-p/723386#M51500</guid>
      <dc:creator>MFritzhand</dc:creator>
      <dc:date>2021-04-08T21:53:06Z</dc:date>
    </item>
    <item>
      <title>Re: JSON to InfoTable</title>
      <link>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/JSON-to-InfoTable/m-p/723451#M51514</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://www.ptcusercommunity.com/t5/user/viewprofilepage/user-id/317406"&gt;@MFritzhand&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I will try to reproduce this at my end and will get back to you&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Toolika Dixit&lt;/P&gt;</description>
      <pubDate>Fri, 09 Apr 2021 09:40:40 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/JSON-to-InfoTable/m-p/723451#M51514</guid>
      <dc:creator>tdixit</dc:creator>
      <dc:date>2021-04-09T09:40:40Z</dc:date>
    </item>
    <item>
      <title>Re: JSON to InfoTable</title>
      <link>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/JSON-to-InfoTable/m-p/723493#M51521</link>
      <description>&lt;P&gt;&lt;a href="https://www.ptcusercommunity.com/t5/user/viewprofilepage/user-id/310426"&gt;@tdixit&lt;/a&gt;&amp;nbsp;okay thank you so much!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Apr 2021 14:07:52 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/JSON-to-InfoTable/m-p/723493#M51521</guid>
      <dc:creator>MFritzhand</dc:creator>
      <dc:date>2021-04-09T14:07:52Z</dc:date>
    </item>
    <item>
      <title>Re: JSON to InfoTable</title>
      <link>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/JSON-to-InfoTable/m-p/723937#M51554</link>
      <description>&lt;P&gt;&lt;a href="https://www.ptcusercommunity.com/t5/user/viewprofilepage/user-id/310426"&gt;@tdixit&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I managed to solve the issue on my end. InfoTable really only function with arrays, that is why all the solutions on forums I were seeing here were mentioning the for loop to parse it. The API I was pulling from used just one specific object, so I was unable to turn that into an array.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Through trial and error, I tried Stringify method, which didn't work really. I then proceeded utilizing Parse method. This achieved getting each number within the object by itself. I set a variable for each number. I was able to call each specific number... from there I tried converting to infotable using the AddRow snippet. Encountered an error, "unable to convert DOUBLE to JSON". I thought okay... I switched the datatypes on the datashape field defintions to number, so Double can be converted. I ran it, was successful.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;me.myjson = Resources["ContentLoaderFunctions"].GetJSON(params);

var myJSON = JSON.parse(me.myjson);
//result = data;
//result = myJSON;
var currentPrice = me.myjson.c;
var highPrice = me.myjson.h;
var lowPrice = me.myjson.l;
var openPrice = me.myjson.o;
var previousClose = me.myjson.pc;
var timeStamp = me.myjson.t;

var params = {
    infoTableName : "InfoTable",
    dataShapeName : "GrahicVisualizer_Stock_DS"
};
// CreateInfoTableFromDataShape(infoTableName:STRING("InfoTable"), dataShapeName:STRING):INFOTABLE(GrahicVisualizer_Stock_DS)
var infoTable = Resources["InfoTableFunctions"].CreateInfoTableFromDataShape(params);

var newRow = new Object();
newRow.c = currentPrice;
newRow.h = highPrice;
newRow.l = lowPrice;
newRow.o = openPrice;
newRow.pc = previousClose;
newRow.t = timeStamp;

infoTable.AddRow(newRow);

result = infoTable;

&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Apr 2021 17:17:03 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/JSON-to-InfoTable/m-p/723937#M51554</guid>
      <dc:creator>MFritzhand</dc:creator>
      <dc:date>2021-04-12T17:17:03Z</dc:date>
    </item>
  </channel>
</rss>

