Skip to main content

json_serialization.hpp File

Included Headers​

#include <regex> #include "behaviortree_cpp/json_export.h" #include "yaml-cpp/yaml.h"

Namespaces Index​

namespaceBT

Functions Index​

nlohmann::jsonyaml_to_json (const YAML::Node &node)
template <typename T>
voidros_msg_2_json (const T &msg, nlohmann::json &json)
template <typename T>
voidregister_ros_msg ()

Variables Index​

static constexpr size_tkMaxVectorSizeToSerialize = 20

Functions​

register_ros_msg()​

template <typename T>
void register_ros_msg ()

Definition at line 65 of file json_serialization.hpp.

ros_msg_2_json()​

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

Definition at line 46 of file json_serialization.hpp.

yaml_to_json()​

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

Definition at line 18 of file json_serialization.hpp.

Variables​

kMaxVectorSizeToSerialize​

constexpr size_t kMaxVectorSizeToSerialize = 20
constexpr static

Definition at line 16 of file json_serialization.hpp.


Generated via doxygen2docusaurus 2.2.2 by Doxygen 1.9.8.