1
0
mirror of https://github.com/sasjs/core.git synced 2026-01-03 15:40:05 +00:00

fix: enable reserved names in mp_jsonout. Closes #249

This commit is contained in:
Allan Bowe
2022-05-31 13:48:09 +00:00
parent de2f32da36
commit 827210e010
5 changed files with 8 additions and 8 deletions

View File

@@ -266,7 +266,7 @@ data _null_;
put ' %do i=1 %to &numcols; ';
put ' %if &i>1 %then "," ; ';
put ' %if &action=OBJ %then """&&name&i"":" ; ';
put ' &&name&i ';
put ' "&&name&i"n /* name literal for reserved variable names */ ';
put ' %end; ';
put ' %if &action=ARR %then "]" ; %else "}" ; ; ';
put ' /* now write the long strings to _webout 1 byte at a time */ ';