Horizon
Loading...
Searching...
No Matches
util.hpp
1#pragma once
2#include <Python.h>
3#include "nlohmann/json_fwd.hpp"
4
5using json = nlohmann::json;
6
7bool json_init();
8PyObject *py_from_json(const json &j);
9json json_from_py(PyObject *o);
10
11class py_exception : public std::exception {};
a class to store JSON values
Definition json.hpp:177
Definition util.hpp:11
basic_json<> json
default JSON class
Definition json_fwd.hpp:62