3 #ifndef vtkVariantSerDesHelper_h
4 #define vtkVariantSerDesHelper_h
6 #include "vtkABINamespace.h"
7 #include "vtkCommonCoreModule.h"
10 #include "vtk_nlohmannjson.h"
11 #include VTK_NLOHMANN_JSON(json.hpp)
14 VTK_ABI_NAMESPACE_BEGIN
Deserialize VTK objects from JSON.
bool VTKCOMMONCORE_EXPORT Deserialize_vtkVariant(const nlohmann::json &state, vtkVariant *variant, vtkDeserializer *deserializer)
nlohmann::json VTKCOMMONCORE_EXPORT Serialize_vtkVariant(const vtkVariant *variant, vtkSerializer *serializer)
A type representing the union of many types.
Serialize VTK objects to JSON.