Home Tags Json

Tag: json

Current Time in Programming language we thought about json event where is json what is json where we use and how we use it here is the right place as u are and now we are explaining you what is json is in acually.

JSON stands for JavaScript Object Notation, it is just a notation and lightweight data-interchange format with language bindings for C, C++, C#, Java, JavaScript, Perl, TCL and others., technically we can say its an independent data exchange format use to transmit data between a server and web application it is a readable format for structuring data. It could be classified as a language, but not a programming language. Its relationship to JavaScript is that it shares its syntax (more or less) with a subset of JavaScript literals, Standard ECMA-262 3rd Edition – December 1999. It is easy for humans to read and write.

The more lightweight JSON (Javascript object notation) has become a popular alternative to XML for various reasons. A couple obvious ones are: Less verbose- XML uses more words than necessary. JSON is faster – Parsing XML software is slow and cumbersome.

You can save it as .txt and change it manually using a mouse click and your keyboard. OR, when saving the file: choose All types(*.*) in the Save as type field. type filename.json in File name field.

The fundamental difference, which no other answer seems to have mentioned, is that XML is a markup language (as it actually says in its name), whereas JSON is a way of representing objects (as also noted in its name). This is what makes markup languages so useful for representing documents.

Some Basic Concept about JSON:

Browser supports native JSON support
All modern browsers support native JSON encoding/decoding (Internet Explorer 8+, Firefox 3.1+, Safari 4+, and Chrome 3+). Basically, JSON.parse(str) will parse the JSON string in str and return an object, and JSON.stringify(obj) will return the JSON representation of the object obj

Structure of JSON
JSON data is based on key and value pairs, where key will be a string and a value may be any thing like string or numeric value or boolean etc.
JSON data is bind together in {}, opening and closing curly braces and called as JSON Object.

JSON data type
In computing, JavaScript Object Notation or JSON (/ˈdʒeɪsən/ JAY-sən), is an open-standard file format that uses human-readable text to transmit data objects consisting of attribute–value pairs and array data types (or any other serializable value).

JSON string
JavaScript Object Notation (JSON) is a lightweight data-interchange format inspired by the object literals of JavaScript. JSON values can consist of: objects (collections of name-value pairs) arrays (ordered lists of values) strings (in double quotes) numbers true, false, or null.

JSON is a programming language Or Not
It could be classified as a language, but not a programming language or we can say JSON is not a markup language. Its relationship to JavaScript is that it shares its syntax (more or less) with a subset of JavaScript literals.

JSON more popular than XML
You can save it as .txt and change it manually using a mouse click and your keyboard. OR, when saving the file: choose All types(*.*) in the Save as type field. type filename.json in File name field.

What’s New MySQL 5.7

MySQL 5.7 includes significant performance and high availability improvements enabling the next generation of web, embedded and Cloud applications. MySQL Database 5.7 delivers: New! JSON Support using a native binary format for efficient processing & storage New! Multi-source...

What is the difference between json and xml

(1) JSON JSON stand for JavaScript Object Notation. JSON is easy to learn in comparison of XML. JSON does not use opening() and closing() tags. JSON is...

Recent Post