You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by "leisongn (via GitHub)" <gi...@apache.org> on 2023/06/01 08:06:59 UTC

[GitHub] [dubbo] leisongn opened a new issue, #12444: 当SpringMVC和Dubbo3同时使用fastjson2进行序列化时 @JSONField(serialize = false)达不到预期效果

leisongn opened a new issue, #12444:
URL: https://github.com/apache/dubbo/issues/12444

   在dubbo3.2.0默认使用fastjson2进行序列化后,SpringMVC同时使用fastjson2进行序列化。
   如User类的password或者父类的一些通用字段,不希望这些字段序列化到前端但服务之间可以互相使用,使用 @JSONField(serialize = false)进行排除,结果服务之间这个字段也被排除了,无奈的我只能继续使用hessian2进行序列化了。


-- 
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: notifications-unsubscribe@dubbo.apache.org.apache.org

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


Re: [I] 当SpringMVC和Dubbo3同时使用fastjson2进行序列化时 @JSONField(serialize = false)达不到预期效果 [dubbo]

Posted by "AlbumenJ (via GitHub)" <gi...@apache.org>.
AlbumenJ closed issue #12444: 当SpringMVC和Dubbo3同时使用fastjson2进行序列化时 @JSONField(serialize = false)达不到预期效果
URL: https://github.com/apache/dubbo/issues/12444


-- 
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: notifications-unsubscribe@dubbo.apache.org

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] songxiaosheng commented on issue #12444: 当SpringMVC和Dubbo3同时使用fastjson2进行序列化时 @JSONField(serialize = false)达不到预期效果

Posted by "songxiaosheng (via GitHub)" <gi...@apache.org>.
songxiaosheng commented on issue #12444:
URL: https://github.com/apache/dubbo/issues/12444#issuecomment-1571735829

   也可以考虑用两个不同领域使用不同的实体类或者把Spring序列化换成其它的


-- 
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: notifications-unsubscribe@dubbo.apache.org

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


Re: [I] 当SpringMVC和Dubbo3同时使用fastjson2进行序列化时 @JSONField(serialize = false)达不到预期效果 [dubbo]

Posted by "AlbumenJ (via GitHub)" <gi...@apache.org>.
AlbumenJ commented on issue #12444:
URL: https://github.com/apache/dubbo/issues/12444#issuecomment-1985155472

   
   No news is good news. Please feel free to create a new issue if you have any question.
   
   


-- 
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: notifications-unsubscribe@dubbo.apache.org

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