2016-10-17 22:44:12 +08:00
|
|
|
namespace acl
|
|
|
|
{
|
|
|
|
//base
|
|
|
|
acl::string gson(const base &$obj);
|
|
|
|
acl::json_node& gson(acl::json &$json, const base &$obj);
|
|
|
|
acl::json_node& gson(acl::json &$json, const base *$obj);
|
|
|
|
std::pair<bool,std::string> gson(acl::json_node &$node, base &$obj);
|
|
|
|
std::pair<bool,std::string> gson(acl::json_node &$node, base *$obj);
|
2017-06-14 13:55:05 +08:00
|
|
|
std::pair<bool,std::string> gson(const acl::string &str, base &$obj);
|
|
|
|
|
2016-10-17 22:44:12 +08:00
|
|
|
//hello::world
|
|
|
|
acl::string gson(const hello::world &$obj);
|
|
|
|
acl::json_node& gson(acl::json &$json, const hello::world &$obj);
|
|
|
|
acl::json_node& gson(acl::json &$json, const hello::world *$obj);
|
|
|
|
std::pair<bool,std::string> gson(acl::json_node &$node, hello::world &$obj);
|
|
|
|
std::pair<bool,std::string> gson(acl::json_node &$node, hello::world *$obj);
|
2017-06-14 13:55:05 +08:00
|
|
|
std::pair<bool,std::string> gson(const acl::string &str, hello::world &$obj);
|
|
|
|
|
2016-10-17 22:44:12 +08:00
|
|
|
//list1
|
|
|
|
acl::string gson(const list1 &$obj);
|
|
|
|
acl::json_node& gson(acl::json &$json, const list1 &$obj);
|
|
|
|
acl::json_node& gson(acl::json &$json, const list1 *$obj);
|
|
|
|
std::pair<bool,std::string> gson(acl::json_node &$node, list1 &$obj);
|
|
|
|
std::pair<bool,std::string> gson(acl::json_node &$node, list1 *$obj);
|
2017-06-14 13:55:05 +08:00
|
|
|
std::pair<bool,std::string> gson(const acl::string &str, list1 &$obj);
|
|
|
|
|
2016-10-17 22:44:12 +08:00
|
|
|
}///end of acl.
|