In Openspan studio 7.1.x I can not get a script to see, and use Openspan's own Newtonsoft.json that comes installed. I created the attached script to make my needed call to a JSO REST API. I obtain the results, but I can not use JSON objects, and classes to desrialize the returned data. You can't see that the last using statement says "using Netwonsoft.Json;".
I added screenshot showing Newtonsoft is in the references.
When I then click on the "Validate" button to validate the script it throws this attached error.
How do I fix this Openspan 7.1.x Studio issue so that I can use Newtonsoft.json in scripts?
***Edited by Moderator Marissa to update Platform Capability tags; update Pega Academy to Product****
You may need to add that dll into the "using" section of the script. That old script container did have some limitations though so I am not exactly sure if that would resolve it. I no longer have access to that old of a version to test myself and I can reference it in the current version.