NRP Core  1.4.1
json_converter.h File Reference
#include <boost/python.hpp>
#include <boost/python/numpy.hpp>
#include <nlohmann/json.hpp>

Go to the source code of this file.

Namespaces

 json_converter
 

Functions

void json_converter::initNumpy ()
 Initializes numpy array API for this module. More...
 
PyObject * json_converter::convertJsonToPyObject (const nlohmann::json &json)
 Converts given JSON object into a python object. More...
 
nlohmann::json json_converter::convertPyObjectToJson (PyObject *value)
 Converts given python object into a JSON object. More...