Skip to main navigation Skip to search Skip to main content

PERFORMANCE EVALUATION OF JSON LIBRARIES IN KOTLIN SERVER ENVIRONMENTS: JACKSON, GSON, AND KOTLINX SERIALIZATION

Research output: Contribution to journalArticlepeer-review

Abstract

The widespread adoption of Kotlin for server-side development has emphasized the importance of efficient JSON processing. This study aimed to empirically evaluate and compare the performance of three JSON libraries—Jackson, Gson, and KotlinX Serialization—in Kotlin-based server environments. Using structured experiments, the research measured execution time, memory utilization, and CPU consumption during parsing, serialization, and deserialization tasks involving nested JSON data with incremental complexity. Statistical analyses confirmed significant performance differences among libraries. KotlinX Serialization consistently outperformed Jackson and Gson across execution speed, memory efficiency, and CPU utilization, primarily due to its compile-time code generation approach. Jackson showed superior memory management and efficient serialization for smaller datasets, while Gson exhibited lower overall performance. These results offer critical guidance for developers selecting appropriate JSON libraries, highlighting KotlinX Serialization's suitability for high-performance applications. The findings significantly enhance the current understanding of JSON processing efficiency and suggest avenues for further investigation into additional libraries and real-world application contexts.

Original languageEnglish
Pages (from-to)718-727
Number of pages10
JournalJournal of Engineering and Technology for Industrial Applications
Volume12
Issue number57
DOIs
Publication statusPublished - 30 Jan 2026

Keywords

  • Jackson
  • JSON libraries
  • JSON processing
  • Kotlin
  • Server-side performance

Fingerprint

Dive into the research topics of 'PERFORMANCE EVALUATION OF JSON LIBRARIES IN KOTLIN SERVER ENVIRONMENTS: JACKSON, GSON, AND KOTLINX SERIALIZATION'. Together they form a unique fingerprint.

Cite this