Choosing the serialization protocol for software development
DOI:
https://doi.org/10.15587/2312-8372.2016.66441Keywords:
protocol, XML, JSON, Protobuf, serialization, parsing, packaging, binaryAbstract
As a result of the research it was determined the scope of application of modern data serialization protocols. Necessity for such work is due to the fact that currently there are many serialization protocols such as JSON, XML, Protobuf, presenting data in rows and binary serialization, which leads to errors of developer when selecting the most optimal serialization. After analyzing all the advantages and disadvantages of the above-mentioned protocol it was done conclusions about an application of these protocols for software development.
It is shown when you can use a simple and very popular serialization method using flat lines or simple binary serialization. The article answers the question under any circumstances it is used more sophisticated serialization, such as XML, JSON and new protocol Protobuf, shows the scope of application of these protocols. Its strengths and vulnerabilities are given that will help the developer of automated systems to choose the most effective one for his application.
The results are important on the stage of choosing competent technical solution about serialization by software developer, which increases the speed and security of data.
References
- PROTOBUF VS. BOOST: SERIALIZATION. (31.10.2013). Zhurnal «Haker». Available: https://xakep.ru/2013/10/31/protobuf-vs-boost-serialization/
- Elloit, R. (2001). XML. St. Peterburg: Symvol-Plius, 576.
- Vvedenie v JSON. (11.11.2011). Available: http://json.org/json-ru.html
- Json ili «Tuda i Obratno». (01.08.2014). Habrahabr. Available: https://habrahabr.ru/company/naumen/blog/228279/
- Protocol Buffers. Google Developers. Available: https://developers.google.com/protocol-buffers/. Last accessed: 05.01.2016.
- Protocol Buffer Basics: C++ (03.09.2014). Google Developers. Available: https://developers.google.com/protocol-buffers/docs/cpptutorial#why-use-protocol-buffers. Last accessed: 05.01.2016.
- Google Protocol Buffers in action (C++). (16.09.2012). Available: http://forums.4fips.com/viewtopic.php?f=3&t=807
- JSON i XML. Chto luchshe? (24.08.2007). Habrahabr. Available: https://habrahabr.ru/post/31225/
- Reasons to Use Protocol Buffers Instead of JSON For Your Next Service. (05.06.2014). Code Climate. Available: http://blog.codeclimate.com/blog/2014/06/05/choose-protocol-buffers/
- ProtoBuf.js vs JSON. (02.02.2015). GitHub, Inc. Available: https://github.com/dcodeIO/protobuf.js/wiki/ProtoBuf.js-vs-JSON
- COMPARING PROTOBUF, JSON, BSON, XML WITH .NET FOR FILE STREAMS. (09.01.2014). Software Engineering. Available: http://damienbod.com/2014/01/09/comparing-protobuf-json-bson-xml-with-net-for-file-streams/
- Esli vy eshche ispol'zuete JSON, to Google protobuf idet k vam! (27.11.2012). Dnevnik programmista. Available: http://knzsoft.blogspot.com/2012/11/protobuf.html
- Sopostavlenie JSON i XML. Microsoft. Available: https://msdn.microsoft.com/ru-ru/library/bb924435(v=vs.110).aspx. Last accessed: 01.02.2016.
- Kak serializovat' i deserializovat' dannye JSON. Microsoft. Available: https://msdn.microsoft.com/ru-ru/library/bb412179(v=vs.110).aspx. Last accessed: 01.02.2016.
Downloads
Published
How to Cite
Issue
Section
License
Copyright (c) 2016 Юліан Євгенович Грудзинський, Роман Валерійович Марков
This work is licensed under a Creative Commons Attribution 4.0 International License.
The consolidation and conditions for the transfer of copyright (identification of authorship) is carried out in the License Agreement. In particular, the authors reserve the right to the authorship of their manuscript and transfer the first publication of this work to the journal under the terms of the Creative Commons CC BY license. At the same time, they have the right to conclude on their own additional agreements concerning the non-exclusive distribution of the work in the form in which it was published by this journal, but provided that the link to the first publication of the article in this journal is preserved.