1 min read

SAS Proc Groovy in Action: JSON File Processing

Last year I took a bite of the newly SAS Proc Groovy to read JSON data since there was no direct “proc import” or “infile” or “libname” way to play with JSON. Here is an nice example from SAS official blog, by Falko Schulz where Proc Groovy is used to parse Twitter JSON file:

How to import Twitter tweets in SAS DATA Step using OAuth 2 authentication style

PS: Since SAS 9.4, you can output a JSON file by Proc JSON, but still no XML-libname-engine like JSON parser available.