|
@@ -26,6 +26,11 @@ public class FastJsonFactory implements IJsonFactory {
|
|
|
|
|
|
|
|
private static final FastJsonFactory me = new FastJsonFactory();
|
|
private static final FastJsonFactory me = new FastJsonFactory();
|
|
|
|
|
|
|
|
|
|
+ public FastJsonFactory() {
|
|
|
|
|
+ // 尽早触发 fastjson 的配置代码
|
|
|
|
|
+ new FastJson();
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
public static FastJsonFactory me() {
|
|
public static FastJsonFactory me() {
|
|
|
return me;
|
|
return me;
|
|
|
}
|
|
}
|