I've used <https://github.com/abdmob/x2js> in NetS...
# suitescript
j
I've used https://github.com/abdmob/x2js in NetSuite without issue
r
Were you able to make this work serverside? Tried it once, was not able to make it work
j
Yes, something like this
Copy code
define(['path/to/x2js'], function(X2JS) {
  ...
  var x2js = new X2JS();
  var xmlstring = x2js.json2xml_str(js object);
});