===============
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'