Uploaded image for project: 'Lucy'
  1. Lucy
  2. LUCY-74

JSON parser internal API

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • None
    • None
    • Core, Perl bindings
    • None

    Description

      Lucy will store most index metadata as JSON, so we need a JSON
      encoder/decoder. Eventually, we should write our own, but for now, this patch
      supplies an API and leaves it up to the binding to fill in an implementation.

      The supplied Perl binding implementation uses the CPAN module JSON::XS and
      translates back and forth between Perl scalar-hash-array data structures and
      Lucy CharBuf-Hash-VArray data structures.

      Attachments

        1. 035-json.t
          0.1 kB
          Marvin Humphrey
        2. json_support.diff
          4 kB
          Marvin Humphrey
        3. Json.bp
          2 kB
          Marvin Humphrey
        4. Json.c
          1 kB
          Marvin Humphrey
        5. TestJson.bp
          0.7 kB
          Marvin Humphrey
        6. TestJson.c
          3 kB
          Marvin Humphrey

        Activity

          People

            marvin Marvin Humphrey
            marvin Marvin Humphrey
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: