Hello fellow automation enthusiasts,
I am having issues with a propably simple error.
As input i have a .json file.
I’m using the “Read Text File” activity to read and store it as a String.
I then, using the “Deserialize JSON” activity, generate a JObject.
This works. So far, so good.
Now if i want to select a specific Value from JObject i could use a statement like:
This also works! Wuhu!
Now comes the part that doesnt work.
I need to pass (“identifications”)(0)(“identificationStatus”)(“status”) as a string variable.
tmp_Key = “(”“identifications”“)(0)(”“identificationStatus”“)(”“status”“)”
This returns the following error message
RemoteException wrapping System.NullReferenceException: Object reference not set to an instance of an object.
Im assuming it has something to do with not correctly escaping quotes. I’ve fiddled with different ways using " instead of “”. But nothing worked.
I’m grateful for every suggestions on how to fix this.