title: Display nested items in JSON object with jQuery
body: <p>I'm trying to display nested items in my JSON object. Right now their value is [object Object]. I'm using a $.each loop but it doesn't seem to be getting the values of the nested items. What am I doing wrong? </p>
  
  <p>JSON</p>
  
  <pre><code>{
      "AssetGUID":"00000000-0000-0000-0000-000000000000",
      "AwayForRepair":false,
      "BooleanDataItems":[
        {
           "Column":null,
           "DisplayValue":null,
           "TableName":null,
           "Value":false
        }
      ],
      "ConditionID":0,
      "DecimalDataItems":[
        {
           "Column":null,
           "DisplayValue":null,
           "TableName":null,
           "Value":0
        }
      ],
      "DeviceName":null,
      "Faulty":false,
      "ForDisposal":false,
      "ImageDataItems":[
        {
           "Column":null,
           "DisplayValue":null,
           "TableName":null,
           "Value":null
        }
      ],
      "InspectionDate":"\/Date(-62135596800000+0000)\/",
      "InspectionPassed":false,
      "InspectionType":0,
      "IntegerDataItems":[
        {
           "Column":null,
           "DisplayValue":null,
           "TableName":null,
           "Value":0
        }
      ],
      "LocationGUID":"00000000-0000-0000-0000-000000000000",
      "StringDataItems":[
        {
           "Column":null,
           "DisplayValue":null,
           "TableName":null,
           "Value":null
        }
      ],
      "TagTypeID":0,
      "TransactionGUID":null,
      "UserID":0
  }
  </code></pre>
  
  <p>jQuery</p>
  
  <pre><code>var content = '';
  $.each(data, function(i, post) {
      content += '&lt;li&gt;' + i + " : " + post + '&lt;/li&gt;';
  });
  
  $("#addJSON").html(content);
  </code></pre>
  
  <p>Output</p>
  
  <pre><code>AssetGUID : 00000000-0000-0000-0000-000000000000
  AwayForRepair : false
  BooleanDataItems : [object Object]
  ConditionID : 0
  DecimalDataItems : [object Object]
  DeviceName : null
  Faulty : false
  ForDisposal : false
  ImageDataItems : [object Object]
  InspectionDate : /Date(-62135596800000+0000)/
  InspectionPassed : false
  InspectionType : 0
  IntegerDataItems : [object Object]
  LocationGUID : 00000000-0000-0000-0000-000000000000
  StringDataItems : [object Object]
  TagTypeID : 0
  TransactionGUID : null
  UserID : 0
  </code></pre>