Skip to content

Commit fba81ab

Browse files
author
ansj
committed
remove restful to json deps
1 parent aea1c21 commit fba81ab

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

src/main/java/org/nlpcn/jcoder/util/Restful.java

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
package org.nlpcn.jcoder.util;
22

3-
import com.alibaba.fastjson.JSONObject;
4-
53
public class Restful {
64

75
public static Restful OK = new Restful(true);
@@ -81,11 +79,6 @@ public Restful(Object obj) {
8179
this.obj = obj;
8280
}
8381

84-
@Override
85-
public String toString() {
86-
return JSONObject.toJSONString(this);
87-
}
88-
8982
public static Restful instance(boolean ok, String message, Object obj, int code) {
9083
return new Restful(ok, message, obj, code);
9184
}

0 commit comments

Comments
 (0)