1 /**
2 * Copyright By Grandsoft Company Limited.
3 * 2012-3-15 下午04:03:56
4 */
5 package gboat2.base.core.util.json;
6
7 import net.sf.json.processors.DefaultValueProcessor;
8
9 /**
10 *
11 * 默认bigdecimal 的处理:为null时显示为空,而不是json默认为0
12 *
13 * @author zhangxj
14 * @since 1.0
15 * @date 2012-10-15
16 */
17 public class BigDecimalDefaultValueProcessor implements DefaultValueProcessor {
18
19 @SuppressWarnings("rawtypes")
20 @Override
21 public Object getDefaultValue(Class type) {
22 return null;
23 }
24
25 }