persist-json alternatives and similar packages
Based on the "JSON" category.
Alternatively, view persist-json alternatives based on common mentions on social networks and blogs.
-
jsoniter-scala
Scala macros for compile-time generation of safe and ultra-fast JSON codecs + circe booster -
jackson-module-scala
Add-on module for Jackson (https://github.com/FasterXML/jackson) to support Scala-specific datatypes -
sbt-json
sbt plugin that generates Scala case classes for easy, statically typed and implicit access of JSON data e.g. from API responses -
play-json
Flexible and powerful JSON manipulation, validation and serialization, with no reflection at runtime.
InfluxDB - Purpose built for real-time analytics at any scale.
Do you think we are missing an alternative of persist-json or a related project?
README
Persist-Json is a new fast Json parser written in Scala. It includes:
- A standard Scala tree form of Json based on Scala immutable collections.
- A very fast Json parser that takes a Json string and produces the Scala form.
- A very fast Compact unparser that takes the Scala form and produces a compact single-line Json string.
- A Pretty unparser that takes the Scala form and produces a nicely formatted Json string.
- A set of methods for working with the Scala form that augment the existing standard collection methods.
- A mapper that converts between the Scala form and user-defined classes.
Documentation
Reference
Persist-Json can be referenced in sbt from Maven Central as
"com.persist" % "persist-json_2.12" % "1.2.0"
"com.persist" % "persist-json_2.11" % "1.1.3"
History
This parser started as part of the OStore NoSQL database project.
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.
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.