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:
parent
0056b1af94
commit
b06182cb73
1 changed files with 1 additions and 2 deletions
|
@ -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()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue