XML Repository

The Difference Between xml and JSON

by Sir on January 14, 2012

RecipeBook_XML_Example from their website and ...

Computer programming is a complex science. The computer is a tool that we could command to perform tasks formerly done manually in a more practical way. We need to make connection and communication between users and the computer. To be able to command computer perform we need a function which is a programming language. Programming language in question is the Pascal, C + +, Java script and others. It is important to know the purpose of programming before we decide what programming language we would use. We must also know the type of users, computers types and system operations they have. Programming language is classified in two types, simple language and the difficult language. The more difficult language is used for high-level programming languages ?as well as easier language to use for simpler programming.

In web programming xml has long been known as a widely used data format, but now it has a lot of programmers who are switching from xml to json. JSON or Java script Object Notation is a language that has a readable format and notated, while XML is a data format that could be marked up. The programmers who migrate from xml to json considers that the use of JSON is much easier because the language is more easily understood, its weakness is a pattern of writing that a bit more complicated so that the slightest mistake could lead to errors in programming. JSON also use a smaller size so that the programming process would keep continue smoothly even though connection and speed is not stable, not the same case with xml that has larger size, except when the data in xml first compressed into a smaller size.

The difficulties experienced by those who have applied xml to json are that JSON does not support the converse format into other forms such as HTML or SVG. The conversion process is not as simple as converting from xml. In the future there should be some improvement is expected to JSON because the programs in more demand usually would challenge developers to repair. One improvement that needs to be developed is a simplification of the conversion and security fixes. It also required the promotion of cooperation as has been done by Yahoo. The development is expected to make JSON a new favorite because it is not dependent on one type of language course, a point which makes it superior to other data formats.

Enhanced by Zemanta