Loading...
Processing Forum
Recent Topics
All Forums
Screen name:
paerha
paerha's Profile
1
Posts
1
Responses
0
Followers
Activity Trend
Last 30 days
Last 30 days
Date Interval
From Date :
To Date :
Go
Loading Chart...
Posts
Responses
PM
Show:
All
Discussions
Questions
Expanded view
List view
Private Message
JSONObject, null values
[3 Replies]
16-Sep-2013 08:03 AM
Forum:
Core Library Questions
As far as other code I've seen, and some validators I've used, null is a valid value. I have a server using jackson which is sending key/value pairs with null values, but I'm unable to add a key/value pair to my JSONObject with a null value.
Simple example:
JSONObject jo = new JSONObject();
jo.setString("isadded", "yes");
jo.setString("notadded", null);
println(jo);
Am I missing something?
«Prev
Next »
Moderate user : paerha
Forum