My testing seems to indicate that it works. It would be good to run tests on another machine to verify that it does.  I believe it works because Gson converts all null values to JsonNull(), and then proceeds to remove all JsonNull() values, or serialize them (depending on serializeNulls())

However, it should be noted that JsonNull() is deprecated: http://google-gson.googlecode.com/svn/trunk/gson/docs/javadocs/com/google/gson/JsonNull.html#INSTANCE

It says to use INSTANCE instead, but I wasn't clear on how to implement that.