You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by GitBox <gi...@apache.org> on 2020/11/13 10:04:39 UTC

[GitHub] [dubbo-go-hessian2] LaurenceLiZhixin removed a comment on pull request #243: Ftr/support register with no pojo object

LaurenceLiZhixin removed a comment on pull request #243:
URL: https://github.com/apache/dubbo-go-hessian2/pull/243#issuecomment-726670806


   > 
   > 
   > @LaurenceLiZhixin I think the func can meet your requirement : `func RegisterPOJOMapping(javaClassName string, o interface{}) int `
   I think this function can register object, and I actually use this funciton in my code.
   But if I want to encode a none POJO obj, hessian2 can't find out what the object is, because it can't identify the object without JavaClassName. That is what my codes do: find the JavaClassName field and use it to encode registered object.
   


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org