MCPcopy 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}
48inline JSONPtr NewJSONBool(bool value)
49{
50 return JSONPtr(value ? json_true() : json_false());
51}
52inline JSONPtr NewJSONNull()
53{
54 return JSONPtr(json_null());

Callers 1

ToJSONFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected