Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/comaps/comaps
/ NewJSONBool
Function
NewJSONBool
libs/cppjansson/cppjansson.hpp:48–51 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
46
return JSONPtr(json_real(value));
47
}
48
inline JSONPtr NewJSONBool(bool value)
49
{
50
return JSONPtr(value ? json_true() : json_false());
51
}
52
inline JSONPtr NewJSONNull()
53
{
54
return JSONPtr(json_null());
Callers
1
ToJSON
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected