JSON for Modern C++ 3.9.1

from_json
from_json
to_json
| ## ◆ from_json() [2/2] template<typename ValueType , typename > template<typename BasicJsonType , typename TargetType = ValueType>
static auto nlohmann::adl_serializer< ValueType, typename >::from_json | ( | BasicJsonType && | j,
|  | TargetType & | val
| ) |  | -> decltype(::nlohmann::from_json(std::forward<BasicJsonType>(j), val), void())
| inline static noexcept
  This function is usually called by the `get()` function of the basic_json class (either explicit or via conversion operators). Note This function is chosen for default-constructible value types. Parameters
  [in] | j | JSON value to read from
  [in,out] | val | value to write to
Definition at line 4858 of file json.hpp.