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

Report JSON path for schema and protocol parsing exceptions

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.9.0
    • 1.9.1
    • csharp
    • None
    • Report JSON path for schema and protocol parsing exceptions in C# bindings

    Description

      In the csharp library, if there is an exception parsing a schema then we get a message with the exception details but no indication of where the error was in the schema's json. 

      I have updated the parser to catch these exceptions and rethrow a new exception with the JSON path to the error and the original exception. This requires an update of the NewtonSoft json.net package (current version is 3). Version 10.3 is about 2 years old and has the most downloads of any recent release. Suggest going to this one.

      I if people agree this is a good idea I can put in a PR.

      Attachments

        Issue Links

          Activity

            People

              paddypawprints Patrick Farry
              paddypawprints Patrick Farry
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: