..
JSON stands for JavaScript Object Notation, is a technology, but it would be better to call it a "format", designed for the 'exchange of data within a client-server applications, such as those made in Ajax and PHP, but is widely used in combination with programming languages such as Java, C, C # and Perl.
JSON is JavaScript based on the Standard ECMA-262 3rd in the version released in December 1999, although it was developed independently from its source.
The spread of this format is due, probably, to its extreme ease of use, it also supports a wide variety of data types, as can be seen through the following list, are then integrated into the same general typesystems of most programming languages and scripting:
While the similarities are immediately observable, the other is important to note that there are also some differences between the types of JSON data and those of many languages, the most attention will surely have noticed such as type STRING of this size is practically identical to that used in Java or C, however, keep in mind that the situation is different for numeric types where JSON does not support the octal or decimal.
JSON allows the exchange of data through a stream (or "stream input / output"), it can be parsed, and then read through an interpreter ("engine") thanks to a simple JavaScript call to a specific function JS called eval ().
Throughout this guide we will see how we can use this function in Javascript and PHP-based scripts, but first you must make some reference to the minimum requirements for development, it requires JSON:
| |
Linux (Course)
Complete guide to open-source system. From 49 €. |
| |
MySQL (Course)
Management of open-source database. From 39 €. |
| |
PHP (Course)
Full course for creating dynamic Web sites. From 49 €. |