MoveIt Pro API
Core Behaviors for MoveIt Pro
Loading...
Searching...
No Matches
json_serialization.hpp File Reference
#include <regex>
#include "behaviortree_cpp/json_export.h"
#include "yaml-cpp/yaml.h"
Include dependency graph for json_serialization.hpp:

Namespaces

namespace  BT
 

Functions

nlohmann::json yaml_to_json (const YAML::Node &node)
 
template<typename T >
void ros_msg_2_json (const T &msg, nlohmann::json &json)
 
template<typename T >
void register_ros_msg ()
 
 BT::BT_JSON_CONVERTER (std::vector< Any >, any_vec)
 

Function Documentation

◆ register_ros_msg()

template<typename T >
void register_ros_msg ( )

◆ ros_msg_2_json()

template<typename T >
void ros_msg_2_json ( const T &  msg,
nlohmann::json &  json 
)

◆ yaml_to_json()

nlohmann::json yaml_to_json ( const YAML::Node &  node)