Skip to content

ashtwentyfour/JSON_Parser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JSON Parser

===============

Takes a .json file as the input and returns a map of all the key-value pairs

Handles the following values types:

  • Arrays of strings, ints, floats, arrays, boolean values, and JSON objects

  • ints and floats

  • boolean values

  • JSON objects

  • null values

  • to import package: 'import json_parser.*;'

  • create new 'Parser' object (Parser p = new Parser()) and call function p.parser(file_name)

  • function returns a map of type HashMap<String , Object>

sample .json files provides

BUILD A DOCKER IMAGE USING

  • run 'docker build .'
  • the current image uses the 'sample_json.json' file from the 'test_cases' folder

RUN USING docker-compose

  • run 'docker-compose up'

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages