- Home /
How To Separate Json Parameter Function to get values i need ?
Hello i just found that i can't send more than one parameter to a Json Function so i did array of string to send to the function parameter
object[] tempStorage = new object[2];
tempStorage[0] = ExpName;
tempStorage[1] = ExpName + pdfName;
Application.ExternalCall("OpenPDFUIButton", tempStorage);
in json file how to be able to separate those 2 values to get the value i want
function OpenPDFUIButton (expNameAndFileName)
{
var PName = "http://21.32.56/Virtual/Files/"+expName+"/"+expNameAndFileName;
}
as you can see i need to get expname and expnameAndFile name separately How can i achieve that ? , thanks .
Comment