Currently CXF when converting from java to json, drops objects that are null. 

For example,

object{
  child_1 = null;
  child_2 = new Object();
}

existing JSON output is   {object:{child_2:{some value}}

Instead of not returning child1, is it possible to have it default to empty
string?

         {object:{child_1:"", child_2:{some value}}


Thanks in advance.




--
View this message in context: 
http://cxf.547215.n5.nabble.com/Converting-from-java-to-json-drops-objects-that-are-null-tp5739426.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to