Specifically, array2json
I am upgrading a legacy Nagios server to 5.5.7 and our custom dashlets are all blowing up. Dev tools tells me the above js function is the culprit. Unfortunately the authors of these dashlets have moved on so I come to you for assistance.
I went and and replaced it with a stringify, but I am more interested in the "right" way of doing it. Assuming this function wasn't added in after the fact by one of our more adventurous developers, I have to assume there is upgrade documentation that mentions it and the proper way to refactor accordingly. My google-fu is failing me at the moment. Can I get an assist?
Thanks in advance!
Looks like a core js function went away
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Looks like a core js function went away
JSON.stringify() would be the correct way to do this