Just a JSON parser for a friend's Pokedex API using C++
Most Linux distributions provide a package that can be installed using the system package manager, for example:
# Debian, Ubuntu, etc.
$ sudo apt-get install -y nlohmann-json-dev.
# Arch Linux / Manjaro
$ sudo pamac install nlohmann-json
or
$ sudo pacman -S nlohmann-json
Just download json.hpp
.
This is the single required file in single_include/nlohmann
or released here. After put the downloaded file in your directory, you need to add
#include "nlohmann/json.hpp"
// for convenience
using json = nlohmann::json;