Skip to content

archita-b/JSONparser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 

Repository files navigation

JSON is used to exchange data to/from a web server.

A JSON string is needed to be parsed in order to interpret it.

An overview of JSON structure can be found at json.org.

Project Overview

This project contains a JSON parser written in JavaScript. The input is a JSON string, and the output is a parsed javascript value or null in case of a bad JSON.

Components:

nullParser

input : JSON string
output : [null, rest of the input] or null

booleanParser

input : JSON string
output : [boolean, rest of the input] or null

numberParser

input : JSON string
output : [number, rest of the input] or null

stringParser

input : JSON string
output : [string, rest of the input] or null

arrayParser

input : JSON string
output : [array, rest of the input] or null

objectParser

input : JSON string
output : [object, rest of the input] or null

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published