1
0
Fork 0
mirror of https://github.com/ethauvin/JSON-java.git synced 2025-06-17 07:50:52 -07:00

investigate XML.toString() behavior with null JSONObject values

This commit is contained in:
stleary 2015-07-17 22:01:52 -05:00
parent 0056b1af94
commit b06182cb73

View file

@ -1498,8 +1498,7 @@ public class JSONObjectTest {
* These are three literal name tokens: ... * These are three literal name tokens: ...
* null * null
* *
* There seems to be no best practice, it's all about what we want the code to do. * There seems to be no best practice to follow, it's all about what we want the code to do.
* In the code we see that JSONObject.NULL is tranformed into null
*/ */
// add JSONObject.NULL then convert to string in the manner of XML.toString() // add JSONObject.NULL then convert to string in the manner of XML.toString()