Uploaded image for project: 'Apache ServiceComb'
  1. Apache ServiceComb
  2. SCB-219

Let JsonUtils ignore unknown properties

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • None
    • None
    • None
    • None

    Description

      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?

      Attachments

        Activity

          People

            yaohaishi Haishi Yao
            yaohaishi Haishi Yao
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: