C20171008S commented on issue #12833: URL: https://github.com/apache/dubbo/issues/12833#issuecomment-1664841084
> 在Java中,boolean的默认值为false,fastjson的`NotWriteDefaultValue`中的"DefaultValue"意义为:只要boolean值为false,就认为其为默认值,不进行序列化;包装类的"DefaultValue"为null,所以就不会导致这个问题了。 包装类或者不设置默认值都能解决,但这个本身算一个巨大的问题。序列化前后不一样,要么dubbo去改要么fastjson那边去改 -- 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]
