2 Replies Latest reply on Apr 27, 2017 1:53 AM by Rahul Tokase

    calling JSON.stringify on parameters object throws TypeError: Converting circular structure to JSON

    Rahul Tokase

      Hi

       

      I have used the following method to get the parameters object.

      workbook.getParametersAsync().then(function (parameters) {

           JSON.stringify(parameters);

       

      });

       

      The above code throws the following type error

      VM17794:1 Uncaught TypeError: Converting circular structure to JSON

          at JSON.stringify (<anonymous>)

       

       

      Is this what is expected? Is there any circular reference present in the parameters object received from the getParameterAsync method ?