mirror of
https://github.com/fankes/JSON-java-compat.git
synced 2025-09-06 02:35:33 +08:00
investigate XML.toString() behavior with null JSONObject values
This commit is contained in:
@@ -1498,8 +1498,7 @@ public class JSONObjectTest {
|
||||
* These are three literal name tokens: ...
|
||||
* null
|
||||
*
|
||||
* There seems to be no best practice, it's all about what we want the code to do.
|
||||
* In the code we see that JSONObject.NULL is tranformed into null
|
||||
* There seems to be no best practice to follow, it's all about what we want the code to do.
|
||||
*/
|
||||
|
||||
// add JSONObject.NULL then convert to string in the manner of XML.toString()
|
||||
|
Reference in New Issue
Block a user