title: In AS3, how to check if two JSON objects are equal?
body: <p>Title pretty much says it. I have two JSON objects and I want to know if they are equal (have all the same property values).</p>
  
  <p>I could stringify them both, but I'm not sure if two equal objects will always produce the same output:</p>
  
  <p>E.g:</p>
  
  <pre><code>{
      "firstName": "John",
      "lastName": "Smith",
      "age": 25,
      "favoriteColors": ["blue", "green", "red"]
  }
  </code></pre>
  
  <p>Is a different string from:</p>
  
  <pre><code>{
      "age": 25,
      "lastName": "Smith",
      "firstName": "John",
      "favoriteColors": ["blue", "green", "red"]
  }
  </code></pre>
  
  <p>But as objects they have identical properties.</p>