Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Icinga/icinga2
/ MakeNestedJsonArray
Function
MakeNestedJsonArray
test/base-json.cpp:172–175 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
170
}
171
172
static std::string MakeNestedJsonArray(size_t depth)
173
{
174
return std::string(depth,
'['
) + std::string(depth,
']'
);
175
}
176
177
static std::string MakeNestedJsonObject(size_t depth)
178
{
Callers
2
BOOST_AUTO_TEST_CASE
Function · 0.85
TestJsonStackSize
Function · 0.85
Calls
no outgoing calls
Tested by
1
TestJsonStackSize
Function · 0.68