The values for "A" & "B" equal "Value" however the value for "C" equals [object Object]
:
{ "A": "Value", "B": "Value", "C": { "I": "Value", "II": "Value" } }
I have a loop and would like to add an IF
to check whether the value
is equal to an [object Object]
, ie; has more than one field within.
What is the best way to achieve this?