✅ Newtonsoft JSON and unknown data
Say I have an Input set which looks like this:
How am I going to count the amount of unique properties in all the Json Objects within the Array that the request body contains?
And how am I going to count the occurrences of each of those unique properties within the entire array of json objects?
I'm hoping I can do this with Newtonsoft.Json with as little "dynamic" data as possible, but I am aware that since it's unknown what kind of data is passed into the API I am going to have to generalize a lot.
Any ideas?
Array of Unknown Json Objects as request body to my APIHow am I going to count the amount of unique properties in all the Json Objects within the Array that the request body contains?
And how am I going to count the occurrences of each of those unique properties within the entire array of json objects?
I'm hoping I can do this with Newtonsoft.Json with as little "dynamic" data as possible, but I am aware that since it's unknown what kind of data is passed into the API I am going to have to generalize a lot.
Any ideas?
