Patrick Farry created AVRO-2496:
-----------------------------------

             Summary: Report JSON path for schema and protocol parsing 
exceptions
                 Key: AVRO-2496
                 URL: https://issues.apache.org/jira/browse/AVRO-2496
             Project: Apache Avro
          Issue Type: Improvement
          Components: csharp
    Affects Versions: 1.9.0
            Reporter: Patrick Farry


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.



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

Reply via email to