Hi Team,
I have the below JSON Request, trying to access the values inside the C# scripted rule.
Inside loop I would like to get the color value from request and set it to JSON response. the JSON structure is already imported, I am only trying to change value based on some condition. I don't find any documentation for how to work with JSON/XML payload array of items.
I have tried something like this but its throwing Null pointer exception.
string color =sv.Request.JSONRequest.stocks.i[0].color;
I am using 5.4.1 version
Jakub Karel Moulik