def CompareEncoded(self, expected_encoded, actual_encoded):
self.assertEquals(json.loads(expected_encoded), json.loads(actual_encoded))<EOL>
JSON encoding will be laundered to remove string differences.