Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/comaps/comaps
/ NewJSONString
Function
NewJSONString
libs/cppjansson/cppjansson.hpp:36–39 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
34
return JSONPtr(json_array());
35
}
36
inline JSONPtr NewJSONString(std::string const & s)
37
{
38
return JSONPtr(json_string(s.c_str()));
39
}
40
inline JSONPtr NewJSONInt(json_int_t value)
41
{
42
return JSONPtr(json_integer(value));
Callers
1
ToJSON
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected