Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-1078

Replace lift-json with json4s-jackson

    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 0.9.0
    • 1.0.0
    • Deploy, Web UI
    • None

    Description

      json4s-jackson is a Jackson-backed implementation of the Json4s common JSON API for Scala JSON libraries. (Evan Chan has a nice comparison of Scala JSON libraries here: http://engineering.ooyala.com/blog/comparing-scala-json-libraries) It is Apache-licensed, mostly API-compatible with lift-json, and easier for downstream operating system distributions to consume than lift-json.

      In terms of performance, json4s-jackson is slightly slower but comparable to lift-json on my machine when parsing very small JSON files (< 2kb and < ~30 objects), around 40% faster than lift-json on medium-sized files (~50kb), and significantly (~10x) faster on multi-megabyte files.

      Attachments

        Activity

          People

            Unassigned Unassigned
            willbenton William Benton
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: