Skip to content

ram-nad/JSON-Parser-Java

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 

Repository files navigation

JSON-Parser-Java

A JSON Parser written in Java.

Project Structure

  • tokenizer: Code for lexical analysis (token generation)
    • tokens: Definitions for Tokens
  • value: Code for Java representation of JSON values
  • parser: Code for parsing list of generated tokens
    • Printer: Code for pretty-printing/string-conversion of JSON values

Note: Sepration of tokenization and parsing is not necessary, it is done for convinience and learning purpose.

Test

Tested the code with test site present here: http://www.json.org/JSON_checker/test.zip?trk=article-ssr-frontend-pulse_little-text-block

Only Failure Cases passing are following:

  • fail1: No restriction on input being only Object/Array

  • fail18: No depth restriction on input

About

A JSON Parser written in Java.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages