Add data to Array inside of a nested JObject

I have this deserialized JSON:

This returns me a JArray containing JObjects which is good, but now how can I append items to the Arrays that are contained within each of these JObjects?

YourJArrayVar(0)("Solutions") would access the Useles Data Solutions Value / Array

I guess I should clarify, and I will edit the post as well. I need to be able to add data to these arrays. I am able to access them in this way with no problem, but cannot use appends.

Assign Activity:
YourJArrayVar(0)("Solutions") = yourNewJArray

Or you will use the ADD Method within an Invoke Method / Invoke Code

UPD1 - Visualizations:

And Also:
grafik

grafik

1 Like

The problem is that it’s supposed to be an array but it comes through as a JToken:

see above, we added some visualizations

Thank you for the visualization, it was very helpful and gave me lots of great insight on interacting with the JSON package in general. Thank you!

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.