MCPcopy Create free account
hub / github.com/comaps/comaps / NewJSONInt

Function NewJSONInt

libs/cppjansson/cppjansson.hpp:40–43  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

38 return JSONPtr(json_string(s.c_str()));
39}
40inline JSONPtr NewJSONInt(json_int_t value)
41{
42 return JSONPtr(json_integer(value));
43}
44inline JSONPtr NewJSONReal(double value)
45{
46 return JSONPtr(json_real(value));

Callers 2

VectorToJsonFunction · 0.85
ToJSONFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected