-
Notifications
You must be signed in to change notification settings - Fork 26.3k
New issue
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
[Feature][3.3] Enhance JsonCompatibilityUtil to support triple protocol #13963
Comments
I can try solve it, please assign to me |
@hengyoush Go ahead |
Before I start, I have some questions about this issue:
// this is the JsonCompatibilityUtil in RestProtocol
private void checkJsonCompatibility(Class<?> clazz, String jsonCheckLevel) throws RpcException {
if (jsonCheckLevel == null || JSON_CHECK_LEVEL_WARN.equals(jsonCheckLevel)) {
//....
List<String> unsupportedMethods = JsonCompatibilityUtil.getUnsupportedMethods(clazz);
} else if (JSON_CHECK_LEVEL_STRICT.equals(jsonCheckLevel)) {
// ...
}
}
|
|
I have completed the 1. and 3, but I am still confused about the second(Generate the demo json struct).
and get a String through
Is my understanding correct? |
@AlbumenJ Sorry for later to noticed this |
Pre-check
Search before asking
Apache Dubbo Component
Java SDK (apache/dubbo)
Descriptions
Enhance JsonCompatibilityUtil to support triple protocol none-annotation mode (
application/json
)Related issues
No response
Are you willing to submit a pull request to fix on your own?
Code of Conduct
The text was updated successfully, but these errors were encountered: