#include <numpy/arrayobject.h>
#include "nrp_general_library/utils/json_converter.h"
#include "nrp_general_library/utils/nrp_exceptions.h"
Namespaces | |
json_converter | |
Macros | |
#define | NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION |
Suppresses numpy warnings about deprecated API. More... | |
Functions | |
PyObject * | json_converter::convertJsonToPyObject (const nlohmann::json &json) |
Converts given JSON object into a python object. More... | |
nlohmann::json | json_converter::convertNumpyArrayToJson (PyObject *value) |
nlohmann::json | json_converter::convertPyObjectToJson (PyObject *value) |
Converts given python object into a JSON object. More... | |
void | json_converter::initNumpy () |
Initializes numpy array API for this module. More... | |
#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION |
Suppresses numpy warnings about deprecated API.