Reputation: 1085
previously json null was handling properly in app. But suddenly app failed to parse son, as it found NULL instead of null. I want to know, if "NULL" is valid null json object, in any of the json library used for android.
Upvotes: 1
Views: 469
Reputation: 254
Yes,NULL is object in android,added in API level 1. See the below image,This is screen shot of android studio documentation.
Upvotes: -1
Reputation: 27515
Here is some info .
First of all null
is keyword in JAVA for indicating object is empty(null).
NULL is not keyword in JAVA
I want to know, if "NULL" is valid null json object, in any of the json library used for android.
Answer is NO.
Upvotes: 5