05-25-2017 08:23 AM
I am running the below process where i am getting error:
filename resp temp;
/* Neat service from Open Notify project */
/* Assign a JSON library to the HTTP response */
libname space JSON fileref=resp;
/* Print result, dropping automatic ordinal metadata */
title "Who is in space right now? (as of &sysdate)";
proc print data=space.people (drop=ordinal;
here is below error message i am getting:
32 /* Assign a JSON library to the HTTP response */
33 libname space JSON fileref=resp;
ERROR: The JSON engine cannot be found.
ERROR: Error in the LIBNAME statement.
05-25-2017 11:28 AM
Not easily. You can get the JSON file but need to manually parse it.
I believe PROC GROOVY can help with this.
Or there's a new package in DS2.
The options are illustrated here: