jsoniter
jsonbeans
jsoniter | jsonbeans | |
---|---|---|
3 | 1 | |
1,502 | 92 | |
1.0% | - | |
0.0 | 10.0 | |
3 months ago | about 2 years ago | |
Java | Java | |
MIT 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.
jsoniter
-
The state of Java Object Serialization libraries in Q2 2023
What about jsoniter?
-
Why is json logging the “standard”?
If JSON decoding ever becomes a bottleneck, use https://jsoniter.com/ . Even fhe drop-in replacement API is faster than the stdlib. If you need absolute insane performance, use the streaming API.
-
Parsing Gigabytes of JSON per Second
Protobuf parsing is slower than an optimized json library, e.g. https://jsoniter.com/
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?
Jackson - Core part of Jackson that defines Streaming API as well as basic shared abstractions
jvm-serializers - Benchmark comparing serialization libraries on the JVM
Gson - A Java serialization/deserialization library to convert Java Objects into JSON and back
qson - QSON is an object to JSON mapper
simdjson - Parsing gigabytes of JSON per second : used by Facebook/Meta Velox, the Node.js runtime, ClickHouse, WatermelonDB, Apache Doris, Milvus, StarRocks
Moshi - A modern JSON library for Kotlin and Java.
HikariJSON - High-performance JSON parser
Jackson-datatype-money - Extension module to properly support datatypes of javax.money
ysoserial - A proof-of-concept tool for generating payloads that exploit unsafe Java object deserialization.
JsonUnit - Compare JSON in your Unit Tests
LoganSquare - Screaming fast JSON parsing and serialization library for Android.
simd-json - Rust port of simdjson