Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
None
-
None
Description
It seems to me empty array is more suitable than null. The benefit is that user don't need to check null before looping the value. Maybe some json tools can convert null array to empty automatically. However, using empty array to replace null can save the rest of json tools (and programmers) from null hell.
Attachments
Issue Links
- links to