MCPcopy Create free account
hub / github.com/OpenFodder/openfodder / to_json

Function to_json

Source/Utils/json.hpp:4213–4216  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4211 template<typename BasicJsonType, typename T,
4212 enable_if_t<std::is_same<T, typename BasicJsonType::boolean_t>::value, int> = 0>
4213 void to_json(BasicJsonType& j, T b) noexcept
4214 {
4215 external_constructor<value_t::boolean>::construct(j, b);
4216 }
4217
4218 template<typename BasicJsonType, typename CompatibleString,
4219 enable_if_t<std::is_constructible<typename BasicJsonType::string_t, CompatibleString>::value, int> = 0>

Callers 4

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

Calls 3

to_json_tuple_implFunction · 0.85
keyMethod · 0.45
valueMethod · 0.45

Tested by

no test coverage detected