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/19 05:46:59 UTC

[GitHub] [dubbo-js] January23 opened a new issue #225: 2.3.9版本,是否支持json序列化

January23 opened a new issue #225:
URL: https://github.com/apache/dubbo-js/issues/225


   现在用hessian序列化,如果请求是类似这种对象:
    {
     param1:{
       param2:{
         x:1,
         y:2
       },
       param3:{
         a:'1'
       }
     }
   
   那我在注册provider的时候,按下面的方式写会造成序列化失败,要对req中的其他对象也要java.combine。这样写起来就很麻烦,有没有更好的方式,谢谢
   methods: {
         func1() {
           return [
             java.combine('com.xxxx.request', {
                param1:{
                   param2:{
                      x:1,
                      y:2
                   },
                param3:{
                   a:'1'
                }
              }),
           ];
         },
       },


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


[GitHub] [dubbo-js] hufeng closed issue #225: 2.3.9版本,是否支持json序列化

Posted by GitBox <gi...@apache.org>.
hufeng closed issue #225:
URL: https://github.com/apache/dubbo-js/issues/225


   


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


[GitHub] [dubbo-js] hufeng commented on issue #225: 2.3.9版本,是否支持json序列化

Posted by GitBox <gi...@apache.org>.
hufeng commented on issue #225:
URL: https://github.com/apache/dubbo-js/issues/225#issuecomment-866997369


   We usually generate this part of the code automatically through a translator


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