AnsweredAssumed Answered

How do I serialize a Nintex Form XML into a json object for a Rest Call--preferably in PowerShell

Question asked by sonisick on Aug 26, 2016

I am writing a PowerShell Rest Call to Publish an XML file that was exported by Nintex. I want to create a json object with the new Guid called List.


Essentially I need a structure like the following:


  "listId": "{DB0ECEE6-117D-4519-986E-020A9BE6A7E3}",

  "formXml": "<?xml version=\"1.0\" encoding=\"utf-16\"?>...</Form>"



Anyone have any quick Ideas of reading in the file and encoding it?