Function morpheus::utilities::cast_from_json

(Latest Version)
pybind11::object morpheus::utilities::cast_from_json(const morpheus::utilities::json_t &source)

Convert a json_t object to a pybind11 object. The difference to mrc::pymrc::cast_from_json() is that if the object cannot be serialized, it checks if the object contains a supported binary type. Otherwise, pybind11::none is returned.

Parameters

source – : json_t object

Returns

pybind11 object

Previous Function morpheus::table_to_parquet
Next Function morpheus::utilities::cast_from_pyobject(const pybind11::object&)
© Copyright 2024, NVIDIA. Last updated on Jul 8, 2024.