GithubHelp home page GithubHelp logo

json-4's Introduction

Persist-Json is a new fast Json parser written in Scala. It includes:

  1. A standard Scala tree form of Json based on Scala immutable collections.
  2. A very fast Json parser that takes a Json string and produces the Scala form.
  3. A very fast Compact unparser that takes the Scala form and produces a compact single-line Json string.
  4. A Pretty unparser that takes the Scala form and produces a nicely formatted Json string.
  5. A set of methods for working with the Scala form that augment the existing standard collection methods.
  6. A mapper that converts between the Scala form and user-defined classes.

Documentation

  1. ScalaDoc

Reference

Persist-Json can be referenced in sbt from Maven Central as

"com.persist" % "persist-json_2.11" % "1.1.3"

History

This parser started as part of the OStore NoSQL database project.

OStore

OStore makes extensive use of Json and needed a pure-Scala Json parser whose output would be immutable Scala data. For this purpose, the Twitter parser based on the parsing combinator example in the Odersky book was choosen.

Twitter Json

Although it met the functional need, it was much too slow. The OStore Json parser mostly maintains the API of the Twitter Json parser but is very much faster.

Since the OStore Json parser has utility beyond its use in OStore, it was broken off as this separate Persist-Json GitHub project.

Thanks

YourKit is kindly supporting the Persist-Json open source project with its full-featured Java Profiler. YourKit, LLC is the creator of innovative and intelligent tools for profiling Java and .NET applications. Take a look at YourKit's leading software products: YourKit Java Profiler and YourKit .NET Profiler.

json-4's People

Contributors

nestorpersist avatar jedesah avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.