Knowledge Walls
Ammu
Hyderabad, Andhra Pradesh, India
Passcode:
Json in Examples of Javascript 1
1034 Views
  • JSON stands for JavaScript Object Notation
  • JSON is a lightweight data interchange format
  • JSON is language independent *
  • JSON is "self-describing" and easy to understand

JSON is a format for storing and transporting data.

JSON is often used when data is sent from a server to a web page.

Example
<!DOCTYPE html>
    <html lang="en-US">
    <head>
        <meta charset="UTF-8">
        <title>heloo</title>
        
    </head>
    <body>
        <script>
          var details={"name":"vidhyaa","age":"30"};
           document.write(details.age);
           var details1={"name":{"first":"vidhyaa","last":"partha"},age:24};
            document.write(details1.name.first );
        </script>
    </body>
</html>
Next Topics
Next lessons of current book.
Examples of Javascript 1
Examples of Javascript 1
Previous Topics
Previous lessons of current book.
Examples of Javascript 1
Examples of Javascript 1
Examples of Javascript 1
Best Lessons of "Javascript 1"
Top lessons which are viewed more times.
Examples of Javascript 1
Examples of Javascript 1
Examples of Javascript 1
Examples of Javascript 1
Examples of Javascript 1
Examples of Javascript 1
  Copyright © 2014 Knowledge walls, All rights reserved
KnowledgeWalls
keep your tutorials and learnings with KnowledgeWalls. Don't lose your learnings hereafter. Save and revise it whenever required.
Click here for more details