code: function (obj1, obj2, optMsg) {
                  var diff = ariaUtilsJson.equalsDiff(obj1, obj2);
                  var equals = diff.equals;
                  if (!equals && !optMsg) {
                      var jsonOptions = {
                          indent : "   "
                      };
                      var s1 = ariaUtilsJson.convertToJsonString(diff.left, jsonOptions);
                      var s2 = ariaUtilsJson.convertToJsonString(diff.right, jsonOptions);
                      optMsg = "JSON comparison failed. First object diff:<br><code><pre>" + s1
                              + "</pre></code><br>Second object diff:<br><code><pre>" + s2 + "</pre></code>";
                  }
                  this.assertTrue(equals, optMsg);
              }
docs: Asserts that a JSON structure is equal to another. Contrarily to the basic assertEquals method, this
  assert will recursively traverse the object to compare its content. <code>
  var obj1 = {a:"a", b:0};
  var obj2 = {a:"a", b:0};
  this.assertJsonEquals(obj1, obj2); // will succeed
  this.assertEquals(obj1, obj2); // will fail
  </code>
  @param {Object} obj1 the first structure
  @param {Object} obj2 the other structure
  @param {String} optMsg optional message to add to the failure description