One of our customers is using PAM's HTTP Operators to communicate with CA Service Desk RESTful webservices.
They retrieve a Change object using HTTP Get and use the following post-execution code to deserialize
the Json String into a ValueMap:
Process.Chg = newValueMap ();
After that they modify the Object:
Process.Chg.chg.description = "Description Changed";
Next they want to execute a HTTP PUT to update the Change object in the USD.
Is there a way to get the Json representation of the object Process.Chg back from the ValueMap?
There is another way to create a JS Object from Json string using the parseJson function:
And the way back to Json should be stringifyJSON
Is there a best practice recommendation to deserialize, modify and serialize Json values ?