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

GenericRecord.ToString always produces invalid JSON

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Not A Problem
    • None
    • None
    • csharp
    • None

    Description

      When GenericRecord ToString is run, trailing commas are added after every single KeyValuePair stored in the record. The extra commas lead to the JSON being invalid. The presence of the schema in the ToString() also leads to the ToString() being different from the Java implementation.

      Attachments

        Activity

          People

            Unassigned Unassigned
            ctowong Chris Wong
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 1h 40m
                1h 40m