2007•Computer Engineering and Applications JournalRequires access

Algorithm of object serialization based on JSON

Gao Xing

Open publisher page 3 citations

Abstract

Nowadays,XML is mainly applied to data-interchange in current Web application system which is based on Ajax (Asynchronous JavaScript and XML) technology,but as a structured document,XML must be manually resolved between the server-side and the client-side,so that more system resources is consumed,and therefore problems such as weak performance,deficiency of compatibility and lack of sensitivity are caused by using XML. JSON(JavaScript Object Notation) is a lightweight data-interchange format,and it can be easily parsed by browser which supports JavaScript.In this paper,an algorithm of object serialization based on JSON is proposed,by which the JSON grammar is analyzed and the object navigation graph is also established.With this algorithm,the Java objects can be translated into JSON expressions transparently,so as to the client-side can take full advantage of JavaScript engine to parse JSON expressions,thus the problems resulted from XML can be solved effectively.

About this research paper

What this paper is about

Nowadays,XML is mainly applied to data-interchange in current Web application system which is based on Ajax (Asynchronous JavaScript and XML) technology,but as a structured document,XML must be manually resolved between the server-side and the client-side,so that more system resources is consumed,and therefore problems such as weak performance,deficiency of compatibility and lack of sensitivity are caused by using XML. JSON(JavaScript Object Notation) is a lightweight data-interchange format,and it can be easily parsed by browser which supports JavaScript.In this paper,an algorithm of object serialization based on JSON is proposed,by which the JSON grammar is analyzed and the object navigation graph is also established.With this algorithm,the Java objects can be translated into JSON expressions transparently,so as to the client-side can take full advantage of JavaScript engine to parse JSON expressions,thus the problems resulted from XML can be solved effectively.

Why it matters

OpenAlex reports 3 citations for this work. Citation counts describe recorded attention and do not establish research quality.

Key contribution

A contribution statement is not available in the OpenAlex record.

Method / approach

Method details are not available in the OpenAlex metadata.

Main findings

Findings are not separately available in the OpenAlex metadata.

Limitations

Limitations are not available in the OpenAlex metadata.

Applications

Application details are not available in the OpenAlex metadata.

Available abstract

Nowadays,XML is mainly applied to data-interchange in current Web application system which is based on Ajax (Asynchronous JavaScript and XML) technology,but as a structured document,XML must be manually resolved between the server-side and the client-side,so that more system resources is consumed,and therefore problems such as weak performance,deficiency of compatibility and lack of sensitivity are caused by using XML. JSON(JavaScript Object Notation) is a lightweight data-interchange format,and it can be easily parsed by browser which supports JavaScript.In this paper,an algorithm of object serialization based on JSON is proposed,by which the JSON grammar is analyzed and the object navigation graph is also established.With this algorithm,the Java objects can be translated into JSON expressions transparently,so as to the client-side can take full advantage of JavaScript engine to parse JSON expressions,thus the problems resulted from XML can be solved effectively.

Key concepts: JSON, Ajax, Computer science, JavaScript, XML, Serialization, Programming language, Parsing

Related papers

Back to paper searchBrowse research topicsOriginal source
Algorithm of object serialization based on JSON — Research Paper | ScholarLens