sanxun0325 commented on a change in pull request #295:
URL: https://github.com/apache/dubbo-go-hessian2/pull/295#discussion_r760111023



##########
File path: README.md
##########
@@ -195,8 +195,35 @@ type MyUser struct {
 
 ```
 
+#### Encoding param name
+When a Java method declares an argument as a parent class, it actually 
receives a subclass,
+You can specify the encoding type of the parameter separately.
 
-##### hessian.SetTagIdentifier
+```go
+type MyUser struct {
+    UserFullName      string   `hessian:"user_full_name"`
+    FamilyPhoneNumber string   // default convert to => familyPhoneNumber
+}
+
+func (m *MyUser) JavaClassName() string {
+    return "com.company.myuser"
+}
+
+func (m *MyUser) JavaParamName() string {

Review comment:
       done




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to