Giter Site home page Giter Site logo

json-parser's Introduction

GeekSkool - JSON Parser Project

What is JSON?

JSON (JavaScript Object Notation) is a data-interchange format commonly used for exchanging data between a browser and a server.

  • Sending Data--If you have data stored in a JavaScript object, you can convert the object into JSON, and send it to a server(JSON.stringify())

  • Receiving Data--If you receive data in JSON format, you can convert it into a JavaScript object(JSON.parse())

W3schools

What is JSON Parser?

Common use of JSON parser is to read data from a web server, and display the data in a web page.

JSON_Parser

JSON - Evaluates to JavaScript Objects

The JSON format is almost identical to JavaScript objects. JSON syntax is derived from JavaScript object notation syntax:

  • Data is in name/value pairs
  • Data is separated by commas
  • Curly braces hold objects
  • Square brackets hold arrays

In JSON, values must be one of the following data types:

  • a string
  • a number
  • an object (JSON object)
  • an array
  • a boolean
  • null

JSON

W3schools

How to run the application Locally

  • clone/download the repository
  • install node
  • run command "node jsonReader.js "

Unit Testing

Jasmine is a behavior-driven development framework for testing JavaScript code. It does not depend on any other JavaScript frameworks. It does not require a DOM. And it has a clean, obvious syntax so that user can easily write tests.

To run unit tests, open index.html (inside jasmine folder) on the browser.

Jasmine

json-parser's People

Contributors

archanabansal88 avatar

Watchers

 avatar

json-parser's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.