You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@servicecomb.apache.org by "YaoHaishi (JIRA)" <ji...@apache.org> on 2018/02/02 08:00:00 UTC
[jira] [Commented] (SCB-219) Let JsonUtils ignore unknown
properties
[ https://issues.apache.org/jira/browse/SCB-219?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16349930#comment-16349930 ]
YaoHaishi commented on SCB-219:
-------------------------------
This issue has been fixed in [https://issues.apache.org/jira/browse/SCB-251]
> Let JsonUtils ignore unknown properties
> ---------------------------------------
>
> Key: SCB-219
> URL: https://issues.apache.org/jira/browse/SCB-219
> Project: Apache ServiceComb
> Issue Type: Improvement
> Reporter: YaoHaishi
> Assignee: YaoHaishi
> Priority: Major
>
> At present, JsonUtils throws exception while deserializing json string that contains unknown properties. This may cause problems when we want to achieve legacy version compatibility.
> Maybe we should make JsonUtils ignore unknown properties. I find that there is such configuration, but it's commented(line 42 - line 46 in JsonUtils.java).
> Should we enable it?
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)