15 do x=
'"',
'0A'x,
'0D'x,
'09'x,
'00'x,
'0E'x,
'0F'x,
'01'x,
'02'x,
'10'x,
'11'x,
'\';
19 x=
'say "hi" there'; output;
20 x=
'"fully quoted"'; output;
21 x=
'back\slash'; output;
22 x=
'quote and back\"slash'; output;
24 x=
' leading blanks'; output;
25 x=
' "leading blanks and quotes"'; output;
26 x=
'trailing blanks '; output;
29%mp_jsonout(OPEN,jref=webref)
30%mp_jsonout(OBJ,demo,jref=webref)
31%mp_jsonout(CLOSE,jref=webref)
39libname web JSON fileref=webref;
43 desc=Checking
for error condition with special chars export,
44 outds=work.test_results
57proc compare base=work.demo compare=web.demo(keep=x);
69%let sysinfo_masked=%sysfunc(band(&sysinfo, 64+128+4096+32768));
72 iftrue=(&sysinfo_masked=0),
73 desc=Returned json is identical to input table for all special chars,
74 outds=work.test_results