Saryanto Saryanto, Sumarsono Sumarsono, Nurcahyani Dewi Retnowati

Submitted : 2016-12-22, Published : .


Data communication in the internet today is so complex as an example of the speed factor becomes very important in communicating, everyone wants fast data communication services provided in order to maximum. In relation to the application as a communication liaison with client server applications, web service using a data serialization format to transmit the data. Before the data is sent, either from
the client to the server or vice versa, should be modified in a specific data format beforehand according to the web service is used. Types of data serialization format used in the web service such as XML and JSON. The method used for testing include data serialization method, data measurement method and data parsing method. Data serialization method is used to calculate the time serialization of data from the database to the form of XML and JSON in applications with PHP platform. Data measurement method used to measure the size of the XML and JSON data which based on many fields of data serialization process. Data parsing method is used to calculate the processing time and JSON parsing XML data. Results o f comparative analysis o f XML and JSON in PHP applications using the
architecture Rest can be concluded that the test result o f the difference in time and time serialization and JSON parsing XML data is influenced by the number o f records, if the number of records the greater the difference in eating time data serialization and parsing the data the greater the time also it
can be concluded that the faster the process JSON serialization and parsing XML data is compared. Testing results o f the JSON data size is smaller than the size of XML. Data exchange using XML format has a size limit of up to 31456.31 KB while JSON XML exceeds the size limit. Testing results on the Internet when the number o f records up to 50,000 data when the data serialization and parsing time data can not be detected in the database.


Riyanto, 2011, Sistem Penjualan Berbasis Web dengan PHP dan PostgreSQL, GAVA MEDIA Yogyakarta.

Simpson, J. E., 2002, Just XML , Andi Offset. Yogyakarta.

Siregar, I. M., 2012, Membongkar Teknologi Web Service Jilid 2, Andi Offset. Yogyakarta.

Didiek S. Wiyono, Ardhi Wijayanto, 2012, Implementasi Rest Web Service Dengan Menggunakan Json Pada Aplikasi Mobile Enterprise Resource Planning.pdf, v11 n2 p143 152 didiek, diakses pada tanggal 15 Mei 2013.

Nurzhan Nurseitov, Michael Paulson, Randall Reynolds, dan Clemente Izurieta, 2009, Studi Kasus Perbandingan Format Pertukaran Data Pada JSON dan XML.pdf,, diakses pada tanggal 15 Mei 2013.

Yanuar Firdaus Arie Wibowo, Dana Sulistiyo Kusumo, Annas Abdillah Marta, 2008, Seminar Nasional UPN Veteran Yogyakarta ISSN 1979-2329, Optimasi Perfomansi Ajax Dengan Menggnakan JSON.pdf, Optimasi Performansi AJAX Dengan Menggunakan JSON i.pdf, diakses pada tanggal 18 Mei 2013.

JSON. diakses pada tanggal 15 Mei 2013.

Extensible Markup Language (XML),, diakses pada tanggal 15 Mei 2013.

XML /guide0.html?page=2#AEN63 diakses pada tanggal 15 Mei

Web Services Architecture, diakses pada tanggal 15 Mei 2013.

Article Metrics

Abstract view: 476 times
Download     : 393   times

Creative Commons License
This work is licensed under a Creative Commons Attribution 4.0 International License.


  • There are currently no refbacks.