MCPcopy 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}
44inline JSONPtr NewJSONReal(double value)
45{
46 return JSONPtr(json_real(value));
47}
48inline JSONPtr NewJSONBool(bool value)
49{
50 return JSONPtr(value ? json_true() : json_false());

Callers 1

ToJSONFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected