MCPcopy Create free account
hub / github.com/BehaviorTree/BehaviorTree.CPP / to_json

Function to_json

include/behaviortree_cpp/contrib/json.hpp:5642–5645  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5640template<typename BasicJsonType, typename T,
5641 enable_if_t<std::is_same<T, typename BasicJsonType::boolean_t>::value, int> = 0>
5642inline void to_json(BasicJsonType& j, T b) noexcept
5643{
5644 external_constructor<value_t::boolean>::construct(j, b);
5645}
5646
5647template < typename BasicJsonType, typename BoolRef,
5648 enable_if_t <

Callers 4

json.hppFile · 0.70
operator()Method · 0.70
to_jsonMethod · 0.70
basic_jsonFunction · 0.70

Calls 5

moveFunction · 0.85
to_json_tuple_implFunction · 0.85
keyMethod · 0.45
valueMethod · 0.45
stringMethod · 0.45

Tested by

no test coverage detected