NRP Core  1.4.1
json_converter.cpp File Reference

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...
 

Macro Definition Documentation

◆ NPY_NO_DEPRECATED_API

#define NPY_NO_DEPRECATED_API   NPY_1_7_API_VERSION

Suppresses numpy warnings about deprecated API.