my html script read .json file successfully in Viya 3.4
<input type="text" multiple class="multipleInputDynamic" data-url="/test.json" id="eNBR" name="eNBR" required>
We are told Viya 4.0 is not going to read .json file- is that correct- if so, what's the solution
I am able to read it in SAS Viya 3.4 with the following code (also in 9.4):
<input type="text" multiple class="multipleInputDynamic" data-url="/test.json" id="eNBR" name="eNBR" required>
Question- I am told SAS Viya 4.0 is NOT going to read .json file. I want to confirm that. and also want to know the alternate solution.
Is that what VIYA code looks like?
That looks like HTML to me.
Yes. that's a code html and done in Viya. That is the proposition of Viya- it can read any open source such as html, python.
I write my html code and also link with SAS code- it works.
Now my question is- to developer who have done html+sas code in Viya- can Viya4.0 read .json file?
@saifislam wrote:
We are told Viya 4.0 is not going to read .json file- is that correct- if so, what's the solution
Where did you get this information? It's very rare for SAS to deprecate features as backwards compatibility is one of their selling points. Not saying you're wrong but it seems weird to deprecate something like this so first, let's check that assumption.
Your code seems like something that is using JSON as a data source within a customized visual in a VA dashboard? When you upgrade you will need to redevelop any customized portions which is standard when you customize out of the box software.
SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!