MCPcopy 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
230template <typename T>
231void ToJSONArray(json_t & root, T const & value)
232{
233 json_array_append_new(&root, ToJSON(value).release());
234}
235
236inline void ToJSONArray(json_t & parent, base::JSONPtr & child)
237{

Callers

nothing calls this directly

Calls 2

ToJSONFunction · 0.70
releaseMethod · 0.45

Tested by

no test coverage detected