MCPcopy Create free account
hub / github.com/bytedance/Fastbot_Android / from_json_tuple_impl

Function from_json_tuple_impl

native/thirdpart/json/json.hpp:3190–3193  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3188
3189template<typename BasicJsonType, typename Tuple, std::size_t... Idx>
3190void from_json_tuple_impl(const BasicJsonType& j, Tuple& t, index_sequence<Idx...> /*unused*/)
3191{
3192 t = std::make_tuple(j.at(Idx).template get<typename std::tuple_element<Idx, Tuple>::type>()...);
3193}
3194
3195template<typename BasicJsonType, typename... Args>
3196void from_json(const BasicJsonType& j, std::tuple<Args...>& t)

Callers 1

from_jsonFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected