Tag

Json-lib

0 views collected around this technical thread.

Java Architect Essentials
Java Architect Essentials
Oct 17, 2022 · Backend Development

Performance Benchmark of Common Java JSON Libraries (Gson, FastJson, Jackson, Json-lib)

This article presents a JMH‑based performance comparison of four popular Java JSON libraries—Gson, FastJson, Jackson, and Json‑lib—covering their Maven dependencies, utility wrappers, a realistic Person model, serialization and deserialization benchmarks, and analysis of the results to guide library selection.

GsonJSONJackson
0 likes · 15 min read
Performance Benchmark of Common Java JSON Libraries (Gson, FastJson, Jackson, Json-lib)
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Oct 14, 2020 · Backend Development

Fixing Maven ClassNotFoundException for json-lib by Adjusting Classifier and outputFileNameMapping

This article explains why a Maven build fails with a ClassNotFoundException for net.sf.json.JSONException due to a missing classifier in the json-lib jar, and shows how to modify the assembly plugin's outputFileNameMapping to correctly include the classifier, preventing the runtime error.

ClassNotFoundExceptionJavaJson-lib
0 likes · 4 min read
Fixing Maven ClassNotFoundException for json-lib by Adjusting Classifier and outputFileNameMapping
Java Captain
Java Captain
Jun 27, 2019 · Backend Development

Performance Benchmark of Common Java JSON Libraries Using JMH

Using JMH, this article benchmarks the serialization and deserialization performance of four popular Java JSON libraries—Gson, Fastjson, Jackson, and Json-lib—by testing various scenarios with a complex Person model, analyzing results, and providing guidance on selecting the most suitable library for high‑performance applications.

GsonJMHJSON
0 likes · 13 min read
Performance Benchmark of Common Java JSON Libraries Using JMH