Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenRCT2/OpenRCT2
/ AsObject
Function
AsObject
src/openrct2/core/Json.cpp:100–103 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
98
}
99
100
json_t AsObject(const json_t& jsonObj)
101
{
102
return jsonObj.is_object() ? jsonObj : json_t::object();
103
}
104
105
json_t AsArray(const json_t& jsonObj)
106
{
Callers
3
sendRegistration
Method · 0.85
sendHeartbeat
Method · 0.85
FromJson
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected