Ok, I have seen a couple closely related posts, but they don't seem to address my problem. Or at least not clearly enough for me.
I am receiving an object that is passed to me with no data dictionary included. I know it is a multidimensional array, possibly including more arrays as a dimension.
I know that some of the elements have names and I would like to get the rest of them so I can make sure I am not creating code for something that already exists.
Example:
the object passed to me in javascript and known elements:
objInfo.id = just an integer
objInfo.name = just a sting
objInfo.lists[] = another array of information
objInfo.DateTime = obvious
objInfo.?
objInfo.?[]
My question: is there a way to loop thru this object and return the name, if any, of the other elements that I know are there but don't know what they are? And then loop thru any elements that are also arrays for their names if any?