Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/comaps/comaps
/ ToJSONArray
Function
ToJSONArray
libs/cppjansson/cppjansson.hpp:231–234 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
229
230
template <typename T>
231
void ToJSONArray(json_t & root, T const & value)
232
{
233
json_array_append_new(&root, ToJSON(value).release());
234
}
235
236
inline void ToJSONArray(json_t & parent, base::JSONPtr & child)
237
{
Callers
nothing calls this directly
Calls
2
ToJSON
Function · 0.70
release
Method · 0.45
Tested by
no test coverage detected