<?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: rest json data parsing in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/rest-json-data-parsing/m-p/361551#M85293</link>
    <description>&lt;P&gt;JSON libname is available as of SAS 9.4 TS1M4&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Whicj version do you have installed?&lt;/P&gt;</description>
    <pubDate>Thu, 25 May 2017 12:36:04 GMT</pubDate>
    <dc:creator>Reeza</dc:creator>
    <dc:date>2017-05-25T12:36:04Z</dc:date>
    <item>
      <title>rest json data parsing</title>
      <link>https://communities.sas.com/t5/SAS-Programming/rest-json-data-parsing/m-p/361544#M85289</link>
      <description>&lt;P&gt;Hello Guys,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am running the below process where i am getting error:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;filename resp temp;&lt;BR /&gt;&lt;BR /&gt;/* Neat service from Open Notify project */&lt;BR /&gt;proc http&lt;BR /&gt;url="&lt;A href="http://api.open-notify.org/astros.json" target="_blank"&gt;http://api.open-notify.org/astros.json&lt;/A&gt;"&lt;BR /&gt;method= "GET"&lt;BR /&gt;out=resp;&lt;BR /&gt;run;&lt;BR /&gt;&lt;BR /&gt;/* Assign a JSON library to the HTTP response */&lt;BR /&gt;libname space JSON fileref=resp;&lt;BR /&gt;&lt;BR /&gt;/* Print result, dropping automatic ordinal metadata */&lt;BR /&gt;title "Who is in space right now? (as of &amp;amp;sysdate)";&lt;BR /&gt;proc print data=space.people (drop=ordinal:);&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;here is below error message i am getting:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;32 /* Assign a JSON library to the HTTP response */&lt;BR /&gt;33 libname space JSON fileref=resp;&lt;BR /&gt;ERROR: The JSON engine cannot be found.&lt;BR /&gt;ERROR: Error in the LIBNAME statement.&lt;/P&gt;</description>
      <pubDate>Thu, 25 May 2017 12:23:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/rest-json-data-parsing/m-p/361544#M85289</guid>
      <dc:creator>arpitagarwal512</dc:creator>
      <dc:date>2017-05-25T12:23:53Z</dc:date>
    </item>
    <item>
      <title>Re: rest json data parsing</title>
      <link>https://communities.sas.com/t5/SAS-Programming/rest-json-data-parsing/m-p/361551#M85293</link>
      <description>&lt;P&gt;JSON libname is available as of SAS 9.4 TS1M4&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Whicj version do you have installed?&lt;/P&gt;</description>
      <pubDate>Thu, 25 May 2017 12:36:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/rest-json-data-parsing/m-p/361551#M85293</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2017-05-25T12:36:04Z</dc:date>
    </item>
    <item>
      <title>Re: rest json data parsing</title>
      <link>https://communities.sas.com/t5/SAS-Programming/rest-json-data-parsing/m-p/361554#M85295</link>
      <description>&lt;P&gt;I have run the below code on my sas EG&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc setinit noalias;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is the information:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Original site validation data&lt;BR /&gt;Current version: 9.04.01M3P062415&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 25 May 2017 12:39:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/rest-json-data-parsing/m-p/361554#M85295</guid>
      <dc:creator>arpitagarwal512</dc:creator>
      <dc:date>2017-05-25T12:39:58Z</dc:date>
    </item>
    <item>
      <title>Re: rest json data parsing</title>
      <link>https://communities.sas.com/t5/SAS-Programming/rest-json-data-parsing/m-p/361585#M85310</link>
      <description>&lt;P&gt;That's M3 unfortunately, not M4.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 25 May 2017 13:25:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/rest-json-data-parsing/m-p/361585#M85310</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2017-05-25T13:25:33Z</dc:date>
    </item>
    <item>
      <title>Re: rest json data parsing</title>
      <link>https://communities.sas.com/t5/SAS-Programming/rest-json-data-parsing/m-p/361637#M85325</link>
      <description>&lt;P&gt;Hi Reeza,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there any workarround to do this task in current machine&lt;/P&gt;</description>
      <pubDate>Thu, 25 May 2017 14:59:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/rest-json-data-parsing/m-p/361637#M85325</guid>
      <dc:creator>arpitagarwal512</dc:creator>
      <dc:date>2017-05-25T14:59:02Z</dc:date>
    </item>
    <item>
      <title>Re: rest json data parsing</title>
      <link>https://communities.sas.com/t5/SAS-Programming/rest-json-data-parsing/m-p/361654#M85332</link>
      <description>&lt;P&gt;Not easily. You can get the JSON file but need to manually parse it.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I believe PROC GROOVY can help with this.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Or there's a new package in DS2.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The options are illustrated here:&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.sas.com/content/sasdummy/2015/09/28/parse-json-from-sas/" target="_blank"&gt;http://blogs.sas.com/content/sasdummy/2015/09/28/parse-json-from-sas/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 25 May 2017 15:28:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/rest-json-data-parsing/m-p/361654#M85332</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2017-05-25T15:28:41Z</dc:date>
    </item>
  </channel>
</rss>

