Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality. Learn more →
Top 23 Java JSON Projects
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
-
jsonschema2pojo
Generate Java types from JSON or JSON Schema and annotate those types for data-binding with Jackson, Gson, etc
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
-
jackson-databind
General data-binding package for Jackson (2.x): works on streaming API (core) implementation(s)
-
xLog
Android logger, pretty, powerful and flexible, log to everywhere, save to file, all you want is here. (by elvishew)
-
hypersistence-utils
The Hypersistence Utils library (previously known as Hibernate Types) gives you Spring and Hibernate utilities that can help you get the most out of your data access layer.
-
manifold
Manifold is a Java compiler plugin, its features include Metaprogramming, Properties, Extension Methods, Operator Overloading, Templates, a Preprocessor, and more.
-
jsoniter
jsoniter (json-iterator) is fast and flexible JSON parser available in Java and Go (by json-iterator)
-
sirix
SirixDB is an an embeddable, bitemporal, append-only database system and event store, storing immutable lightweight snapshots. It keeps the full history of each resource. Every commit stores a space-efficient snapshot through structural sharing. It is log-structured and never overwrites data. SirixDB uses a novel page-level versioning approach.
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
fastjson
Most of the time is spent in JSON parsing, specifically in AccessLogAggregator.parseLineJson. Within parsing, the majority of time is spent in org/json/JSONObject.. Since there are faster JSON libraries available, we'll switch to Gson and repeat the tests. To do this, we'll add the following method to our code:
Project mention: Is it somehow possible to use a class reference without importing it? | /r/javahelp | 2023-05-30At the moment the main project is using Quarkus and the other one is an "extension" for https://github.com/joelittlejohn/jsonschema2pojo
This article reveals how to integrate WireMock into Fastify with ease, enabling developers to effortlessly generate mock responses for external services. Join us as we explore the straightforward process of seamlessly integrating and optimizing Fastify applications using WireMock for enhanced testing capabilities.
Jackson had this problem a few months back, where someone reported a critical CVE against the project and broke builds all around the planet https://github.com/FasterXML/jackson-databind/issues/3972
Basically the programmer (not the attacker) had to write code where an object contained itself
HashMap map=new HashMap<>();
map.put("recursive",map);
After this, Jackson would indeed stack overflow if you asked it to wrap the object to JSON. Then again, half the build-in Java functions (e.g. getting an object hashcode for the map object) also fail for a recursive structure.
The issue remains open 3 months later, Mitre still thinks it's hella serious, and people have yet again learned to just ignore their CI warning about CVEs
Project mention: Tracing: Structured Logging, but better in every way | news.ycombinator.com | 2023-09-20
Project mention: Show HN: Ditch your ORM with type-safe native SQL | news.ycombinator.com | 2024-04-09
So, is JR yet another faking library written in Go? Yes and no. JR indeed implements most of the APIs in fakerjs and Go fake it, but it's also able to stream data directly to stdout, Kafka, Redis and more (Elastic and MongoDB coming). JR can talk directly to Confluent Schema Registry, manage json-schema and Avro schemas, easily maintain coherence and referential integrity. If you need more than what is OOTB in JR, you can also easily pipe your data streams to other cli tools like kcat thanks to its flexibility.
Project mention: Am i safe by sticking with Java and XML for years ahead ? | /r/androiddev | 2023-06-04I guess it wouldn't be a first https://github.com/flipkart-incubator/proteus , but
We're using a similar trie structure as the main document (node) index in SirixDB[1]. Lately, I got some inspiration for different page-sizes based on the ART and HAMT basically for the rightmost inner pages (as the node-IDs are generated by a simple sequence generator and thus also all inner pages (we call them IndirectPage) except for the rightmost are fully occupied (the tree height is adapted dynamically depending on the size of the stored data. Currently, always 1024 references are stored to indirect child pages, but I'll experiment with smaller sized, as the inner nodes are simply copied for each new revision, whereas the leaf pages storing the actual data are versioned themselfes with a novel sliding snapshot algorithm.
You can simply compute from a unique nodeId each data is assigned (64bit) the page and reference to traverse on each level in the trie through some bit shifting.
[1] https://github.com/sirixdb/sirix
Java JSON related posts
- JVM Profiling in Action
- I created another JSON –> Java mapper (it's better)
- Show HN: Ditch your ORM with type-safe native SQL
- Show HN: Ditch your ORM with type-safe native SQL
- Show HN: Traits for Java via True Delegation
- Show HN: Automatic Type-Safe CSV
- Show HN: Htmx with ManTL Templates
-
A note from our sponsor - InfluxDB
www.influxdata.com | 23 Apr 2024
Index
What are some of the best open-source JSON projects in Java? This list will help you:
Project | Stars | |
---|---|---|
1 | fastjson | 25,630 |
2 | Gson | 22,929 |
3 | jjwt | 9,833 |
4 | REST Assured | 6,707 |
5 | jsonschema2pojo | 6,145 |
6 | WireMock | 6,076 |
7 | JSON-java | 4,472 |
8 | jackson-databind | 3,454 |
9 | fastjson2 | 3,411 |
10 | LoganSquare | 3,215 |
11 | xLog | 3,039 |
12 | logstash-logback-encoder | 2,383 |
13 | hypersistence-utils | 2,255 |
14 | Jackson | 2,231 |
15 | manifold | 2,209 |
16 | schema-registry | 2,136 |
17 | protostuff | 2,002 |
18 | FST | 1,568 |
19 | jsoniter | 1,486 |
20 | proteus | 1,293 |
21 | typescript-generator | 1,103 |
22 | sirix | 1,079 |
23 | problem-spring-web | 1,008 |
Sponsored