A toy json parser using modern cpp.
to run single test, type
g++ -std=c++17 -o main src/main.cpp src/parser.cpp
in terminal.
to run google test, type
g++ -std=c++17 test/parser_test.cpp src/parser.cpp -o parser_test -lgtest -lgtest_main -pthread
A toy json parser using modern cpp.
to run single test, type
g++ -std=c++17 -o main src/main.cpp src/parser.cpp
in terminal.
to run google test, type
g++ -std=c++17 test/parser_test.cpp src/parser.cpp -o parser_test -lgtest -lgtest_main -pthread