DSL-JSON
jsonbeans
DSL-JSON | jsonbeans | |
---|---|---|
6 | 1 | |
987 | 92 | |
0.4% | - | |
5.2 | 10.0 | |
2 months ago | about 2 years ago | |
Java | Java | |
BSD 3-clause "New" or "Revised" License | BSD 3-clause "New" or "Revised" License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
DSL-JSON
-
The Newest Java Json Benchmark Results just dropped
Afaik dsl-json came up with a lot of improvements and inspired a several other libraries like JsonIter and jsonIter-scala. Jsoniter-scala by u/plokhotnyuk is probably the most optimized JSON library on the JVM at this point, and seems to power most of the Scala ecosystem. Some implementations/optimizations eventually made their way back into Jackson and other libraries.
-
The state of Java Object Serialization libraries in Q2 2023
You gotta at least add the top contender. I mean dsl-json is probably the fastest json lib java has to offer. I personally like Rob's avaje-jsonb, because I think the approach of no reflection, and doing everything via annotation processing is rad. (it also has some decent speed too)
-
I benchmarked kotlin rust and go. The results will shock you , or not.
Have you tried dsl-json instead of jsoniter? Should be faster.
-
Performance of 12 JSON parsers for Scala
I've updated results of benchmarks of 12 JSON parsers for Scala: - AVSystem's scala-commons - Borer - Circe - DSL-JSON - Jackson - jsoniter-scala - Play-JSON, - play-json-jsoniter - Spray-JSON - uPickle - weePickle - zio-json
jsonbeans
-
The state of Java Object Serialization libraries in Q2 2023
JsonBeans is similar to YamlBeans in how it does object marshaling, but uses a Ragel parser. I like Ragel and thought parsing JSON with it was neat, particularly that I could easily relax JSON parsing rules: "JavaScript" where the object property names are only quoted when needed or "minimal" where both object property names and values are only quoted when needed. Also commas are optional, as much as possible. The generic object graph was inspired by cJSON. JsonBeans is embedded in libgdx, so sees a lot of usage there. JSON isn't the right choice of data format if you want fast or efficient, so JsonBeans goal is only to be convenient.
What are some alternatives?
jsoniter-scala - Scala macros for compile-time generation of safe and ultra-fast JSON codecs
jvm-serializers - Benchmark comparing serialization libraries on the JVM
jackson-module-scala - Add-on module for Jackson (https://github.com/FasterXML/jackson) to support Scala-specific datatypes
qson - QSON is an object to JSON mapper
jbpm - a Business Process Management (BPM) Suite
jsoniter - jsoniter (json-iterator) is fast and flexible JSON parser available in Java and Go
Flowable (V6) - A compact and highly efficient workflow and Business Process Management (BPM) platform for developers, system admins and business users.
Play JSON - The Play JSON library
ActiveJ - ActiveJ is an alternative Java platform built from the ground up. ActiveJ redefines core, web and high-load programming in Java, providing simplicity, maximum performance and scalability
Josson & Jossons - A complete query and transformation language for JSON and a template engine to generate text output.
borer - Efficient CBOR and JSON (de)serialization in Scala