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

C implementation does not accept "simple" primitive schemas

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • 1.3.0
    • 1.8.0
    • c
    • None

    Description

      Schemas like "null", "int", "string", etc. (instead of the longer,

      {type: "null"}

      ,

      {type: "int"}

      , etc.) are not accepted by the C implementation.

      This seems to be a problem with the jansson JSON library used. It (strictly correctly) says that simple strings are not JSON objects.

      Switching to the yajl[1] library would fix this as yajl accepts "subsets" of JSON like strings, numbers and so on.

      [1] http://lloyd.github.com/yajl/

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              jmhodges Jeff Hodges
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: