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

C implementation should return json parse errors

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 1.3.0
    • 1.5.0
    • c
    • None

    Description

      Currently, the C implementation does not return the JSON parse errors from the underlying JSON library and instead simply returns EINVAL.

      This makes debugging difficult. For instance, I had to hack the source code to figure out why AVRO-462 was happening. We could use the very nice text field on current jansson library's json_error_t struct.

      Attachments

        1. 0001-Error-messages.patch
          86 kB
          Douglas Creager

        Activity

          People

            dcreager Douglas Creager
            jmhodges Jeff Hodges
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: