<?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: How do I parse large json from an API? in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/How-do-I-parse-large-json-from-an-API/m-p/483173#M72745</link>
    <description>&lt;P&gt;We are using pandas to_json() to make the dataframe into json.&amp;nbsp; When I try to open the json file using the wizard I get a really long error.&lt;/P&gt;</description>
    <pubDate>Fri, 29 Apr 2022 17:13:02 GMT</pubDate>
    <dc:creator>MQ_Smith</dc:creator>
    <dc:date>2022-04-29T17:13:02Z</dc:date>
    <item>
      <title>How do I parse large json from an API?</title>
      <link>https://community.jmp.com/t5/Discussions/How-do-I-parse-large-json-from-an-API/m-p/483104#M72739</link>
      <description>&lt;P&gt;I am trying to create a data table from an API response but the JSON that is output won't process and I think the file is too big.&amp;nbsp; It's about 20 MB and the final data table is ~7000 rows and ~115 columns.&amp;nbsp; Is this just too big to parse?&amp;nbsp; I also have the option of getting a csv file from the API or output as a text string.&amp;nbsp; I work with the developers that wrote the API so we can make it output whatever we want.&lt;BR /&gt;I have verified that the JSL script to hit the API is working and I have been able to parse much smaller JSON files from the same API.&amp;nbsp; I just need to figure out how to handle the larger ones.&lt;/P&gt;</description>
      <pubDate>Fri, 09 Jun 2023 16:58:04 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-do-I-parse-large-json-from-an-API/m-p/483104#M72739</guid>
      <dc:creator>MQ_Smith</dc:creator>
      <dc:date>2023-06-09T16:58:04Z</dc:date>
    </item>
    <item>
      <title>Re: How do I parse large json from an API?</title>
      <link>https://community.jmp.com/t5/Discussions/How-do-I-parse-large-json-from-an-API/m-p/483141#M72740</link>
      <description>&lt;P&gt;there are two competing JSON parsers in JMP. You probably want to use the newer JSON Wizard.&lt;/P&gt;
&lt;P&gt;Download a representative xxx.json from the API. From JMP's file-&amp;gt;open dialog, pick the JSON file type and pick the wizard.&lt;/P&gt;
&lt;P&gt;From the wizard, try the guesses. If you can get the dev team to write a pandas-like format, that might make it even easier.&lt;/P&gt;
&lt;P&gt;If none of the guesses work, the wizard can import using information you supply about the structure of the JSON, but that requires a bit more study.&lt;/P&gt;
&lt;P&gt;The script saved in the table can be used for other similar files, without opening the wizard again.&lt;/P&gt;
&lt;P&gt;The file size you describe is not too big; there should be a progress dialog and I'd guess about a minute.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 29 Apr 2022 15:22:02 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-do-I-parse-large-json-from-an-API/m-p/483141#M72740</guid>
      <dc:creator>Craige_Hales</dc:creator>
      <dc:date>2022-04-29T15:22:02Z</dc:date>
    </item>
    <item>
      <title>Re: How do I parse large json from an API?</title>
      <link>https://community.jmp.com/t5/Discussions/How-do-I-parse-large-json-from-an-API/m-p/483173#M72745</link>
      <description>&lt;P&gt;We are using pandas to_json() to make the dataframe into json.&amp;nbsp; When I try to open the json file using the wizard I get a really long error.&lt;/P&gt;</description>
      <pubDate>Fri, 29 Apr 2022 17:13:02 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-do-I-parse-large-json-from-an-API/m-p/483173#M72745</guid>
      <dc:creator>MQ_Smith</dc:creator>
      <dc:date>2022-04-29T17:13:02Z</dc:date>
    </item>
    <item>
      <title>Re: How do I parse large json from an API?</title>
      <link>https://community.jmp.com/t5/Discussions/How-do-I-parse-large-json-from-an-API/m-p/483210#M72751</link>
      <description>What sort of error? Anything in the log window? Which pandas frame orientation? "Orient" is a pandas keyword. JMP should show you a choice for that keyword on the wizard's guess menu.</description>
      <pubDate>Fri, 29 Apr 2022 19:38:32 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-do-I-parse-large-json-from-an-API/m-p/483210#M72751</guid>
      <dc:creator>Craige_Hales</dc:creator>
      <dc:date>2022-04-29T19:38:32Z</dc:date>
    </item>
  </channel>
</rss>

