[json-lib-user] (Asking again) Can I prevent null values in String fields from being translated int
Brought to you by:
aalmiray
From: Morgan P. <mo...@mo...> - 2010-05-13 17:45:24
|
Hello, I posted this question a while back and got no reponse. Figured I'd try it again. Thanks! My java bean has a property, someStringProp, whose value is null. The JSON generated from this object looks like this: {"someStringProp":""} How can I have my generated JSON look like this? {"someStringProp":null} thanks, -Morgan |