Move to_json and from_json to root namespace
This commit is contained in:
parent
932f7a4ec3
commit
aad9a8377c
10
json.hpp
10
json.hpp
@ -270,16 +270,16 @@ namespace json {
|
||||
{ ; }
|
||||
};
|
||||
|
||||
std::ostream&
|
||||
operator <<(std::ostream &os, const json::node &n);
|
||||
}
|
||||
|
||||
|
||||
template <typename T>
|
||||
json::node&& to_json (const T&);
|
||||
|
||||
template <typename T>
|
||||
T&& from_json (const json::node&);
|
||||
|
||||
std::ostream&
|
||||
operator <<(std::ostream &os, const json::node &n);
|
||||
}
|
||||
T from_json (const json::node&);
|
||||
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user