@sasjs/core 4.27.4 → 4.27.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/base/mp_jsonout.sas
CHANGED
|
@@ -231,7 +231,7 @@
|
|
|
231
231
|
%do i=1 %to &numcols;
|
|
232
232
|
%if &i>1 %then "," ;
|
|
233
233
|
%if &action=OBJ %then """&&name&i"":" ;
|
|
234
|
-
&&name&i
|
|
234
|
+
"&&name&i"n /* name literal for reserved variable names */
|
|
235
235
|
%end;
|
|
236
236
|
%if &action=ARR %then "]" ; %else "}" ; ;
|
|
237
237
|
/* now write the long strings to _webout 1 byte at a time */
|
|
@@ -264,7 +264,7 @@ data _null_;
|
|
|
264
264
|
put ' %do i=1 %to &numcols; ';
|
|
265
265
|
put ' %if &i>1 %then "," ; ';
|
|
266
266
|
put ' %if &action=OBJ %then """&&name&i"":" ; ';
|
|
267
|
-
put ' &&name&i ';
|
|
267
|
+
put ' "&&name&i"n /* name literal for reserved variable names */ ';
|
|
268
268
|
put ' %end; ';
|
|
269
269
|
put ' %if &action=ARR %then "]" ; %else "}" ; ; ';
|
|
270
270
|
put ' /* now write the long strings to _webout 1 byte at a time */ ';
|
package/package.json
CHANGED
|
@@ -266,7 +266,7 @@ data _null_;
|
|
|
266
266
|
put ' %do i=1 %to &numcols; ';
|
|
267
267
|
put ' %if &i>1 %then "," ; ';
|
|
268
268
|
put ' %if &action=OBJ %then """&&name&i"":" ; ';
|
|
269
|
-
put ' &&name&i ';
|
|
269
|
+
put ' "&&name&i"n /* name literal for reserved variable names */ ';
|
|
270
270
|
put ' %end; ';
|
|
271
271
|
put ' %if &action=ARR %then "]" ; %else "}" ; ; ';
|
|
272
272
|
put ' /* now write the long strings to _webout 1 byte at a time */ ';
|
|
@@ -408,7 +408,7 @@ data _null_;
|
|
|
408
408
|
put ' %do i=1 %to &numcols; ';
|
|
409
409
|
put ' %if &i>1 %then "," ; ';
|
|
410
410
|
put ' %if &action=OBJ %then """&&name&i"":" ; ';
|
|
411
|
-
put ' &&name&i ';
|
|
411
|
+
put ' "&&name&i"n /* name literal for reserved variable names */ ';
|
|
412
412
|
put ' %end; ';
|
|
413
413
|
put ' %if &action=ARR %then "]" ; %else "}" ; ; ';
|
|
414
414
|
put ' /* now write the long strings to _webout 1 byte at a time */ ';
|