<?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 Library in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Json-Library/m-p/781202#M248983</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I think this paper will help you out :&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Paper 856-2017 &lt;/SPAN&gt;&lt;BR role="presentation" /&gt;&lt;SPAN&gt;Parsing JSON with SAS® in 2017 &lt;/SPAN&gt;&lt;BR role="presentation" /&gt;&lt;SPAN&gt;John Kennedy, Mesa Digital &lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="https://support.sas.com/resources/papers/proceedings17/0856-2017.pdf" target="_blank"&gt;https://support.sas.com/resources/papers/proceedings17/0856-2017.pdf&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;How to make JSON response file available within SAS (numeric and string data in a SAS data set)? :&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;USING THE JSON LIBNAME&lt;/P&gt;
&lt;P&gt;The JSON libname is the newest, sexiest, and easiest way to import JSON data into SAS. It handles the parsing of the data, can account for a variable data structure, and can be combined with other procedures to increase its functionality.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;filename response temp; &lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;proc http &amp;nbsp;&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;&amp;nbsp; url="&lt;A href="http://data.ny.gov/api/views/kwxv-fwze/rows.json?accessType=DOWNLOAD" target="_blank"&gt;http://data.ny.gov/api/views/kwxv-fwze/rows.json?accessType=DOWNLOAD&lt;/A&gt;" &lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;&amp;nbsp; method= "GET" &lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;&amp;nbsp; out=response; &lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;run; &lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;libname lotto JSON fileref=response; &lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;proc print data=lotto.data; &lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;run;&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Koen&lt;/P&gt;</description>
    <pubDate>Fri, 19 Nov 2021 08:51:03 GMT</pubDate>
    <dc:creator>sbxkoenk</dc:creator>
    <dc:date>2021-11-19T08:51:03Z</dc:date>
    <item>
      <title>Json Library</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Json-Library/m-p/781189#M248979</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am fetch the data using Rest API using SAS Studio. Data is&amp;nbsp; coming but it is storing in one column Table under RESPOSE JSON COLUMN NAME&amp;nbsp; . So, how fetch the data from that column.&lt;/P&gt;</description>
      <pubDate>Fri, 19 Nov 2021 05:45:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Json-Library/m-p/781189#M248979</guid>
      <dc:creator>harihyd2021</dc:creator>
      <dc:date>2021-11-19T05:45:32Z</dc:date>
    </item>
    <item>
      <title>Re: Json Library</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Json-Library/m-p/781202#M248983</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I think this paper will help you out :&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Paper 856-2017 &lt;/SPAN&gt;&lt;BR role="presentation" /&gt;&lt;SPAN&gt;Parsing JSON with SAS® in 2017 &lt;/SPAN&gt;&lt;BR role="presentation" /&gt;&lt;SPAN&gt;John Kennedy, Mesa Digital &lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="https://support.sas.com/resources/papers/proceedings17/0856-2017.pdf" target="_blank"&gt;https://support.sas.com/resources/papers/proceedings17/0856-2017.pdf&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;How to make JSON response file available within SAS (numeric and string data in a SAS data set)? :&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;USING THE JSON LIBNAME&lt;/P&gt;
&lt;P&gt;The JSON libname is the newest, sexiest, and easiest way to import JSON data into SAS. It handles the parsing of the data, can account for a variable data structure, and can be combined with other procedures to increase its functionality.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;filename response temp; &lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;proc http &amp;nbsp;&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;&amp;nbsp; url="&lt;A href="http://data.ny.gov/api/views/kwxv-fwze/rows.json?accessType=DOWNLOAD" target="_blank"&gt;http://data.ny.gov/api/views/kwxv-fwze/rows.json?accessType=DOWNLOAD&lt;/A&gt;" &lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;&amp;nbsp; method= "GET" &lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;&amp;nbsp; out=response; &lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;run; &lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;libname lotto JSON fileref=response; &lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;proc print data=lotto.data; &lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;run;&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Koen&lt;/P&gt;</description>
      <pubDate>Fri, 19 Nov 2021 08:51:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Json-Library/m-p/781202#M248983</guid>
      <dc:creator>sbxkoenk</dc:creator>
      <dc:date>2021-11-19T08:51:03Z</dc:date>
    </item>
  </channel>
</rss>

