I'm trying to parse out a JSON file using the JSON package provided for proc ds2
in SAS9.3 Maintenance 3 as per Chris Hemedinger's blog post here:
http://blogs.sas.com/content/sasdummy/2015/09/28/parse-json-from-sas/
Everything seemed to be working fine until I restarted my SAS session and now I keep on getting the message:
ERROR: Compilation error.
ERROR: Line 883: Ambiguous method call for method createparser. Multiple method declarations
match the given argument list.
Line 883 (in this case) refers to the line that contains the createParser
call. Here's some simplified code that can reproduce the error:
data have;
set sashelp.class;
run;
proc ds2;
data want;
dcl package json j();
dcl int rc;
method run();
set have;
rc = j.createParser( name );
end;
enddata;
run;
quit;
What am I doing wrong?