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