Skip to content

Commit b06182c

Browse files
committed
investigate XML.toString() behavior with null JSONObject values
1 parent 0056b1a commit b06182c

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

JSONObjectTest.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1498,8 +1498,7 @@ public void jsonObjectNullOperations() {
14981498
* These are three literal name tokens: ...
14991499
* null
15001500
*
1501-
* There seems to be no best practice, it's all about what we want the code to do.
1502-
* In the code we see that JSONObject.NULL is tranformed into null
1501+
* There seems to be no best practice to follow, it's all about what we want the code to do.
15031502
*/
15041503

15051504
// add JSONObject.NULL then convert to string in the manner of XML.toString()

0 commit comments

Comments
 (0)