mirror of
https://github.com/stleary/JSON-java.git
synced 2025-08-03 11:25:30 -04:00
Update README.md
This commit is contained in:
parent
e4ef254d8f
commit
25596c9578
@ -13,7 +13,7 @@ When adding a new unit test, don't forget to update <b>JunitTestSuite.java</b>.
|
||||
|
||||
The fundamental issues with JSON-Java testing are:
|
||||
* <b>JSONObjects</b> are unordered, making simple string comparison ineffective.
|
||||
* Comparisons via equals() is not currently supported. Neither <b>JSONArray</b> nor <b>JSONObject</b> overrride <b>hashCode()</b> or <b>equals()</b>, so comparison defaults to the <b>Object</b> equals(), which is not useful.
|
||||
* Comparisons via **equals()** is not currently supported. Neither <b>JSONArray</b> nor <b>JSONObject</b> overrride <b>hashCode()</b> or <b>equals()</b>, so comparison defaults to the <b>Object</b> equals(), which is not useful.
|
||||
* Access to the <b>JSONArray</b> and <b>JSONObject</b> internal containers for comparison is not currently available.
|
||||
* <b>JSONObject</b> sometimes wraps entries in quotes, other times does not, complicating comparisons.
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user