The Behavioral Diversity of Java JSON Libraries

التفاصيل البيبلوغرافية
العنوان: The Behavioral Diversity of Java JSON Libraries
المؤلفون: Nicolas Harrand, Thomas Durieux, David Broman, Benoit Baudry
بيانات النشر: KTH, Programvaruteknik och datorsystem, SCS, 2021.
سنة النشر: 2021
مصطلحات موضوعية: Software Engineering (cs.SE), FOS: Computer and information sciences, Computer Science - Software Engineering, Datorsystem, Computer Systems, JSON, Behavioral Diversity, Java
الوصف: JSON is an essential file and data format in domains that span scientific computing, web APIs or configuration management. Its popularity has motivated significant software development effort to build multiple libraries to process JSON data. Previous studies focus on performance comparison among these libraries and lack a software engineering perspective. We present the first systematic analysis and comparison of the input / output behavior of 20 JSON libraries, in a single software ecosystem: Java/Maven. We assess behavior diversity by running each library against a curated set of 473 JSON files, including both well-formed and ill-formed files. The main design differences, which influence the behavior of the libraries, relate to the choice of data structure to represent JSON objects and to the encoding of numbers. We observe a remarkable behavioral diversity with ill-formed files, or corner cases such as large numbers or duplicate data. Our unique behavioral assessment of JSON libraries paves the way for a robust processing of ill-formed files, through a multi-version architecture. Part of proceedings: ISBN 978-1-6654-2587-2QC 20220524
وصف الملف: application/pdf
اللغة: English
URL الوصول: https://explore.openaire.eu/search/publication?articleId=doi_dedup___::bec28b4f8a960f108f73fee547f23564
http://urn.kb.se/resolve?urn=urn:nbn:se:kth:diva-310817
Rights: OPEN
رقم الانضمام: edsair.doi.dedup.....bec28b4f8a960f108f73fee547f23564
قاعدة البيانات: OpenAIRE