Uploaded image for project: 'Apache Avro'
  1. Apache Avro
  2. AVRO-2116

unknown fields in json not ignored

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.8.1
    • None
    • java
    • None
    • java 1.8

    Description

      As the screenshot, I put two unknown field, one field 'unknown1' is under root level, and another field 'unknown2' is under the sub record startRule, when I try to parse this json . I got an error said:
      Expected Unkown fileds: [unkown2], Got FIELD_NAME.

      Attachments

        Activity

          People

            Unassigned Unassigned
            redlion99 redlion
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: