mirror of
https://github.com/ethauvin/JSON-java.git
synced 2025-06-18 00:10:51 -07:00
Update README.md
This commit is contained in:
parent
e4ef254d8f
commit
25596c9578
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
The fundamental issues with JSON-Java testing are:
|
||||||
* <b>JSONObjects</b> are unordered, making simple string comparison ineffective.
|
* <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.
|
* 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.
|
* <b>JSONObject</b> sometimes wraps entries in quotes, other times does not, complicating comparisons.
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue