• DocumentCode
    2719857
  • Title

    Comparison between JSON and XML in Applications Based on AJAX

  • Author

    Lin, Boci ; Chen, Yan ; Chen, Xu ; Yu, Yingying

  • Author_Institution
    Transp. Manage. Coll., Dalian Maritime Univ., Dalian, China
  • fYear
    2012
  • fDate
    11-13 Aug. 2012
  • Firstpage
    1174
  • Lastpage
    1177
  • Abstract
    As the core technology of Web 2.0, Ajax has caught more and more attention. Xml, as the traditional data load format, needs to be resolved by DOM (Document Object Model ) both in client-side and server-side, which wastes system resource and makes a great reduction of user-friendliness. In this paper, a light-weightdata-interchanging format-JSON (Java Script Object Notation) will be introduced, which provides a higher level of flexibility and efficiency. We make a comparison between JSON and XML through expriment, then use JSON as data-transfering format in an actual project. Results show that JSON is more suitable as a data-loading tool for Ajax applications.
  • Keywords
    Java; XML; document handling; electronic data interchange; AJAX; DOM; JSON; JavaScript object notation; Web 2.0; XML; client-side; data load format; data-loading tool; data-transfering format; document object model; light-weightdata-interchanging format; server-side; user-friendliness; Educational institutions; Reactive power; Servers; Standards; XML; Ajax; J2EE; JSON; XML;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Computer Science & Service System (CSSS), 2012 International Conference on
  • Conference_Location
    Nanjing
  • Print_ISBN
    978-1-4673-0721-5
  • Type

    conf

  • DOI
    10.1109/CSSS.2012.297
  • Filename
    6394535