Hi,
Getting the below error when I am using “Deserialize JSON” activity inside 1 of my process.
Error:
Deserialize JSON: Cannot deserialize the current JSON object (e.g. {“name”:“value”}) into type ‘Newtonsoft.Json.Linq.JToken’ because the type requires a JSON array (e.g. [1,2,3]) to deserialize correctly.
To fix this error either change the JSON to a JSON array (e.g. [1,2,3]) or change the deserialized type so that it is a normal .NET type (e.g. not a primitive type like integer, not a collection type like an array or List) that can be deserialized from a JSON object. JsonObjectAttribute can also be added to the type to force it to deserialize from a JSON object.
Path ‘ket_1[‘1 key & Value’]’, line 1, position 46.
But the same “Deserialize JSON” is working fine independently.
Thanks and Regards,
Josmy Joseph
4 posts - 4 participants