toJsonWithNullValues

对象转换成Json字符串, 不会过滤值为null的keys Gson序列化默认会过滤掉值为null的keys, 此方法专用于有些要带上值为null的keys的特殊需求

Return

Json字符串

Parameters

obj

要转换的对象