$darkmode
#include <nlohmann/json.hpp>#include <sol/state_view.hpp>#include <sol/object.hpp>#include <sol/optional.hpp>#include <sol/table.hpp>#include <sol/version.hpp>Go to the source code of this file.
Classes | |
| struct | nlohmann::adl_serializer< sol::object > |
Functions | |
| sol::object | fable::into_sol_object (sol::state_view &lua, const nlohmann::json &json) |
| sol::object | fable::into_sol_object (sol::this_state &state, const nlohmann::json &json) |
This file contains specializations of nlohmann::adl_serializer for sol2 types.
In order to provide serialization for third-party types, we need to either use their namespace or provide a specialization in that of nlohmann. It is illegal to define anything in the std namespace, so we are left no choice in this regard.