9b32f72584
As I learned in https://github.com/melpon/wandbox/issues/209, this library is already installed at Wandbox, so we need to adjust the examples to use `#include "json.hpp"` insteas of `#include <json.hpp>`.
10 lines
176 B
C++
10 lines
176 B
C++
#include "json.hpp"
|
|
#include <iomanip> // for std::setw
|
|
|
|
using json = nlohmann::json;
|
|
|
|
int main()
|
|
{
|
|
// call meta()
|
|
std::cout << std::setw(4) << json::meta() << '\n';
|
|
}
|