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

JSON parser internal API

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Core, Perl bindings
    • Labels:
      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. Json.bp
          2 kB
          Marvin Humphrey
        2. Json.c
          1 kB
          Marvin Humphrey
        3. json_support.diff
          4 kB
          Marvin Humphrey
        4. 035-json.t
          0.1 kB
          Marvin Humphrey
        5. TestJson.bp
          0.7 kB
          Marvin Humphrey
        6. TestJson.c
          3 kB
          Marvin Humphrey

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: