We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
定义的类如下:
public final class DubboResponse implements Serializable{ private String message; private String error; private JSON data; private boolean success; }
初衷是返回的数据既能是JSONObject,也能是JSONArray,然后就是要JSON在这里,现在JSON本身是无法被序列化的
The text was updated successfully, but these errors were encountered:
其实用Object就好~ 然后用instance of判断JSONObject还是JSONArray
Sorry, something went wrong.
add testcase for issue #1492
386a11a
补充了testcase,没发现问题
complete test case for alibaba#1492
11753b8
No branches or pull requests
定义的类如下:
初衷是返回的数据既能是JSONObject,也能是JSONArray,然后就是要JSON在这里,现在JSON本身是无法被序列化的
The text was updated successfully, but these errors were encountered: